Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001705/0.001705, allocations: 124.5 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.002062/0.002062, allocations: 211.2 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.564/1.564, 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.2333/0.2333, allocations: 44.9 MB / 355.1 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",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.002114/0.002114, allocations: 71.89 kB / 499.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1248, allocations: 65.42 MB / 0.5518 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003442/0.1283, allocations: 1.756 MB / 0.5536 GB, free: 8.281 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.1301, allocations: 1.039 MB / 0.5546 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.869e-05/0.1302, allocations: 4 kB / 0.5546 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.1306, allocations: 107.6 kB / 0.5547 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.131, allocations: 131.5 kB / 0.5548 GB, free: 7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.1312, allocations: 75.73 kB / 0.5549 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.1314, allocations: 131.6 kB / 0.555 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1315, allocations: 12.27 kB / 0.555 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.1316, allocations: 67.75 kB / 0.5551 GB, free: 6.719 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.1317, allocations: 83.66 kB / 0.5552 GB, free: 6.637 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1318, allocations: 4 kB / 0.5552 GB, free: 6.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.1319, allocations: 59.98 kB / 0.5552 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/0.1319, allocations: 31.91 kB / 0.5553 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.132, allocations: 47.61 kB / 0.5553 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.1323, allocations: 159.3 kB / 0.5555 GB, free: 6.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1323, allocations: 0 / 0.5555 GB, free: 6.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1323, allocations: 0 / 0.5555 GB, free: 6.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1323, allocations: 0 / 0.5555 GB, free: 6.34 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006495/0.1329, allocations: 466.2 kB / 0.5559 GB, free: 5.836 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.133, allocations: 16.03 kB / 0.5559 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.518e-05/0.133, allocations: 34.75 kB / 0.5559 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.1331, allocations: 16.84 kB / 0.556 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.1334, allocations: 225.1 kB / 0.5562 GB, free: 5.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1334, allocations: 384 / 0.5562 GB, free: 5.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.1334, allocations: 11.94 kB / 0.5562 GB, free: 5.488 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1336, allocations: 69.59 kB / 0.5563 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1336, allocations: 0 / 0.5563 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1336, allocations: 0 / 0.5563 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1336, allocations: 4 kB / 0.5563 GB, free: 5.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.1337, allocations: 35.97 kB / 0.5563 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.1342, allocations: 328.6 kB / 0.5566 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.1344, allocations: 70.48 kB / 0.5567 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.659e-05/0.1345, allocations: 24.84 kB / 0.5567 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1345, allocations: 7.938 kB / 0.5567 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.1347, allocations: 71.39 kB / 0.5568 GB, free: 4.809 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.1347, allocations: 4 kB / 0.5568 GB, free: 4.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008349/0.1355, allocations: 273.3 kB / 0.557 GB, free: 4.531 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.1356, allocations: 59.34 kB / 0.5571 GB, free: 4.461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.1359, allocations: 255.7 kB / 0.5573 GB, free: 4.199 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.1359, allocations: 37.7 kB / 0.5574 GB, free: 4.156 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.136, allocations: 116.1 kB / 0.5575 GB, free: 4.039 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.136, allocations: 31.7 kB / 0.5575 GB, free: 4.008 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.1361, allocations: 29.7 kB / 0.5575 GB, free: 3.973 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1362, allocations: 330.8 kB / 0.5579 GB, free: 3.641 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-05/0.1363, allocations: 31.98 kB / 0.5579 GB, free: 3.609 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.683e-05/0.1364, allocations: 53.31 kB / 0.5579 GB, free: 3.555 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.1366, allocations: 97.58 kB / 0.558 GB, free: 3.453 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1366, allocations: 0 / 0.558 GB, free: 3.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002559/0.1368, allocations: 141.6 kB / 0.5582 GB, free: 3.309 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1368, allocations: 4 kB / 0.5582 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.1368, allocations: 0 / 0.5582 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1369, allocations: 0 / 0.5582 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/0.137, allocations: 31.86 kB / 0.5582 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.137, allocations: 0 / 0.5582 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.137, allocations: 15.98 kB / 0.5582 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.137, allocations: 4 kB / 0.5582 GB, free: 3.254 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 (14): * Single equations (assignments): 14 * 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.0001311/0.1371, allocations: 136 kB / 0.5583 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.1372, allocations: 19.89 kB / 0.5584 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.663e-05/0.1372, allocations: 25.39 kB / 0.5584 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1372, allocations: 3.938 kB / 0.5584 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1372, allocations: 0 / 0.5584 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1372, allocations: 0 / 0.5584 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000598/0.1378, allocations: 483.9 kB / 0.5589 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1378, allocations: 0 / 0.5589 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.138e-05/0.1379, allocations: 27.92 kB / 0.5589 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1379, allocations: 0 / 0.5589 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1379, allocations: 4 kB / 0.5589 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1379, allocations: 96 / 0.5589 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1379, allocations: 7.938 kB / 0.5589 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.1383, allocations: 253.1 kB / 0.5591 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.1383, allocations: 89.02 kB / 0.5592 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.1384, allocations: 4 kB / 0.5592 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.963e-05/0.1384, allocations: 7.984 kB / 0.5592 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.1385, allocations: 7.938 kB / 0.5592 GB, free: 2.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.1385, allocations: 7.984 kB / 0.5592 GB, free: 2.086 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001983/0.1387, allocations: 201.5 kB / 0.5594 GB, free: 1.891 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1387, allocations: 0 / 0.5594 GB, free: 1.891 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.139, allocations: 31.94 kB / 0.5595 GB, free: 1.859 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002647/0.1416, allocations: 1.193 MB / 0.5606 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.1419, allocations: 83.91 kB / 0.5607 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1419, allocations: 0 / 0.5607 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.244e-05/0.142, allocations: 39.92 kB / 0.5608 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.1424, allocations: 40.05 kB / 0.5608 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.1447, allocations: 1.957 MB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.1451, allocations: 0.724 MB / 0.5634 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.904e-05/0.1451, allocations: 37 kB / 0.5634 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.834e-05/0.1452, allocations: 43.42 kB / 0.5635 GB, free: 13.81 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1452, allocations: 4 kB / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.1708, allocations: 4.222 MB / 0.5676 GB, free: 9.645 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.158, allocations: 8.859 kB / 0.5676 GB, free: 9.637 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.514010338112712]