Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002402/0.002402, allocations: 209.6 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3144/0.3144, allocations: 44.91 MB / 355.1 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 67.89 kB / 499.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1255, allocations: 65.43 MB / 0.5518 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003282/0.1288, allocations: 1.741 MB / 0.5535 GB, free: 8.402 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1305, allocations: 1.027 MB / 0.5545 GB, free: 7.371 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.457e-05/0.1306, allocations: 3.938 kB / 0.5545 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.1309, allocations: 39.78 kB / 0.5546 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.1311, allocations: 103.5 kB / 0.5547 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.1314, allocations: 83.66 kB / 0.5548 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.1315, allocations: 91.77 kB / 0.5548 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.1316, allocations: 20.27 kB / 0.5549 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.383e-05/0.1317, allocations: 47.72 kB / 0.5549 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.66e-05/0.1318, allocations: 35.78 kB / 0.5549 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1318, allocations: 4 kB / 0.555 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.124e-05/0.1319, allocations: 43.98 kB / 0.555 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/0.132, allocations: 23.91 kB / 0.555 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.132, allocations: 31.75 kB / 0.555 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.1322, allocations: 119.5 kB / 0.5552 GB, free: 6.734 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1322, allocations: 0 / 0.5552 GB, free: 6.734 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1322, allocations: 3.938 kB / 0.5552 GB, free: 6.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1322, allocations: 0 / 0.5552 GB, free: 6.73 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005765/0.1328, allocations: 430.6 kB / 0.5556 GB, free: 6.262 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1328, allocations: 8.031 kB / 0.5556 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.723e-05/0.1329, allocations: 34.75 kB / 0.5556 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.1329, allocations: 16.88 kB / 0.5556 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.1332, allocations: 211.2 kB / 0.5558 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.1332, allocations: 8.359 kB / 0.5558 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.1332, allocations: 11.94 kB / 0.5559 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1334, allocations: 49.67 kB / 0.5559 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1334, allocations: 3.938 kB / 0.5559 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1334, allocations: 4 kB / 0.5559 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1334, allocations: 0 / 0.5559 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.54e-05/0.1335, allocations: 19.98 kB / 0.5559 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.1339, allocations: 280.9 kB / 0.5562 GB, free: 5.527 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.1341, allocations: 58.67 kB / 0.5563 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.1341, allocations: 20.8 kB / 0.5563 GB, free: 5.438 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.1341, allocations: 0 / 0.5563 GB, free: 5.438 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.1343, allocations: 63.39 kB / 0.5563 GB, free: 5.363 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1343, allocations: 4 kB / 0.5563 GB, free: 5.359 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006009/0.1349, allocations: 185.3 kB / 0.5565 GB, free: 5.172 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.1349, allocations: 55.34 kB / 0.5566 GB, free: 5.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.1351, allocations: 194.3 kB / 0.5568 GB, free: 4.906 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.1352, allocations: 33.7 kB / 0.5568 GB, free: 4.867 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/0.1352, allocations: 100.1 kB / 0.5569 GB, free: 4.766 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.1353, allocations: 27.83 kB / 0.5569 GB, free: 4.738 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.1353, allocations: 21.72 kB / 0.5569 GB, free: 4.711 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1354, allocations: 330.8 kB / 0.5572 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.623e-05/0.1355, allocations: 16.36 kB / 0.5573 GB, free: 4.363 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.35e-05/0.1356, allocations: 41.64 kB / 0.5573 GB, free: 4.316 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.1357, allocations: 57.66 kB / 0.5574 GB, free: 4.254 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1357, allocations: 4 kB / 0.5574 GB, free: 4.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001928/0.1359, allocations: 109.5 kB / 0.5575 GB, free: 4.137 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1359, allocations: 4 kB / 0.5575 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1359, allocations: 0 / 0.5575 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1359, allocations: 0 / 0.5575 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.949e-05/0.136, allocations: 19.98 kB / 0.5575 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.136, allocations: 0 / 0.5575 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.1361, allocations: 11.94 kB / 0.5575 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1361, allocations: 0 / 0.5575 GB, free: 4.102 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.1362, allocations: 132 kB / 0.5576 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.1362, allocations: 15.94 kB / 0.5576 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.1362, allocations: 17.34 kB / 0.5577 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1362, allocations: 0 / 0.5577 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1363, allocations: 4 kB / 0.5577 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1363, allocations: 7.922 kB / 0.5577 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.1367, allocations: 391.3 kB / 0.558 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1367, allocations: 4 kB / 0.558 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/0.1368, allocations: 8 kB / 0.558 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1368, allocations: 7.969 kB / 0.5581 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.1368, allocations: 0 / 0.5581 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1368, allocations: 3.984 kB / 0.5581 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1368, allocations: 4 kB / 0.5581 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.137, allocations: 196.3 kB / 0.5582 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/0.1371, allocations: 92.95 kB / 0.5583 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.1371, allocations: 3.938 kB / 0.5583 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.1372, allocations: 4 kB / 0.5583 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.1372, allocations: 19.91 kB / 0.5584 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.1372, allocations: 4 kB / 0.5584 GB, free: 3.094 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.1374, allocations: 148.2 kB / 0.5585 GB, free: 2.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1374, allocations: 0 / 0.5585 GB, free: 2.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.1376, allocations: 27.94 kB / 0.5585 GB, free: 2.922 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002103/0.1397, allocations: 1.097 MB / 0.5596 GB, free: 1.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.1399, allocations: 55.92 kB / 0.5597 GB, free: 1.926 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1399, allocations: 0 / 0.5597 GB, free: 1.926 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.613e-05/0.14, allocations: 31.92 kB / 0.5597 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1403, allocations: 32.48 kB / 0.5597 GB, free: 1.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.1423, allocations: 1.67 MB / 0.5614 GB, free: 108 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1426, allocations: 0.7002 MB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.167e-05/0.1427, allocations: 17.17 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.1427, allocations: 35.42 kB / 0.5621 GB, free: 15.33 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1427, allocations: 0 / 0.5621 GB, free: 15.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.1655, allocations: 3.475 MB / 0.5655 GB, free: 11.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.262, allocations: 7.875 kB / 0.5655 GB, free: 11.91 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.554117649327964]