Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001253/0.001253, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.001533/0.001533, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.535/1.535, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2386/0.2386, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test69,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.91 kB / 0.491 GB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1577, allocations: 65.99 MB / 0.5554 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003416/0.1611, allocations: 1.833 MB / 0.5572 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.1631, allocations: 1.109 MB / 0.5583 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1632, allocations: 7.938 kB / 0.5583 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005516/0.1637, allocations: 299.3 kB / 0.5586 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004985/0.1642, allocations: 247.2 kB / 0.5588 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.1645, allocations: 111.7 kB / 0.5589 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003576/0.1649, allocations: 259.2 kB / 0.5592 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.844e-05/0.1649, allocations: 9.688 kB / 0.5592 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.1652, allocations: 143.5 kB / 0.5593 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.1655, allocations: 207.9 kB / 0.5595 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.1655, allocations: 8 kB / 0.5595 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.1657, allocations: 47.97 kB / 0.5596 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.1659, allocations: 136.5 kB / 0.5597 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.166, allocations: 146.7 kB / 0.5599 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005606/0.1666, allocations: 370.2 kB / 0.5602 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1666, allocations: 0 / 0.5602 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1666, allocations: 4 kB / 0.5602 GB, free: 0.832 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.1666, allocations: 0 / 0.5602 GB, free: 0.832 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001309/0.1679, allocations: 0.75 MB / 0.5609 GB, free: 32 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.168, allocations: 12.03 kB / 0.561 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.88e-05/0.1681, allocations: 38.73 kB / 0.561 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.1682, allocations: 52.61 kB / 0.561 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000863/0.169, allocations: 456.3 kB / 0.5615 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1691, allocations: 4.375 kB / 0.5615 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.1691, allocations: 7.938 kB / 0.5615 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.1694, allocations: 83.36 kB / 0.5616 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1694, allocations: 0 / 0.5616 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1694, allocations: 0 / 0.5616 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1694, allocations: 4 kB / 0.5616 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.1695, allocations: 31.92 kB / 0.5616 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006463/0.1702, allocations: 378.4 kB / 0.562 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.1705, allocations: 105.1 kB / 0.5621 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.916e-05/0.1706, allocations: 37.7 kB / 0.5621 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.1707, allocations: 4 kB / 0.5621 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.1709, allocations: 109 kB / 0.5622 GB, free: 14.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.1709, allocations: 0 / 0.5622 GB, free: 14.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005503/0.1715, allocations: 205.6 kB / 0.5624 GB, free: 14.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.1715, allocations: 85.05 kB / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.1728, allocations: 1.022 MB / 0.5635 GB, free: 13.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.1728, allocations: 33.69 kB / 0.5635 GB, free: 13.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.173, allocations: 228.1 kB / 0.5637 GB, free: 12.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.173, allocations: 35.77 kB / 0.5638 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.1731, allocations: 33.64 kB / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.1733, allocations: 366.8 kB / 0.5642 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/0.1734, allocations: 23.98 kB / 0.5642 GB, free: 12.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.1735, allocations: 59.42 kB / 0.5642 GB, free: 12.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.1737, allocations: 95.41 kB / 0.5643 GB, free: 12.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1737, allocations: 3.938 kB / 0.5643 GB, free: 12.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003223/0.174, allocations: 169.2 kB / 0.5645 GB, free: 12.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.174, allocations: 8 kB / 0.5645 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.174, allocations: 0 / 0.5645 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1741, allocations: 0 / 0.5645 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1742, allocations: 27.92 kB / 0.5645 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1742, allocations: 0 / 0.5645 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.1743, allocations: 19.88 kB / 0.5645 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1743, allocations: 4 kB / 0.5645 GB, free: 12.09 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002321/0.1745, allocations: 224 kB / 0.5648 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.84e-05/0.1746, allocations: 55.66 kB / 0.5648 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.423e-05/0.1747, allocations: 60.09 kB / 0.5649 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1747, allocations: 0 / 0.5649 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.1747, allocations: 4 kB / 0.5649 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1747, allocations: 0 / 0.5649 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.1751, allocations: 341.4 kB / 0.5652 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1751, allocations: 3.938 kB / 0.5652 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.1751, allocations: 8.125 kB / 0.5652 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.1751, allocations: 4 kB / 0.5652 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1751, allocations: 0 / 0.5652 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1751, allocations: 7.984 kB / 0.5652 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1751, allocations: 4 kB / 0.5652 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.1755, allocations: 209.4 kB / 0.5654 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.1756, allocations: 140.8 kB / 0.5656 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.1757, allocations: 0 / 0.5656 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.1757, allocations: 7.984 kB / 0.5656 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.1758, allocations: 12 kB / 0.5656 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.1758, allocations: 7.984 kB / 0.5656 GB, free: 10.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008833/0.1767, allocations: 0.7604 MB / 0.5663 GB, free: 10.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1767, allocations: 0 / 0.5663 GB, free: 10.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.177, allocations: 43.94 kB / 0.5664 GB, free: 10.12 MB / 430.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002088/0.1791, allocations: 1.055 MB / 0.5674 GB, free: 9.195 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.1794, allocations: 79.84 kB / 0.5675 GB, free: 9.117 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1794, allocations: 0 / 0.5675 GB, free: 9.117 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1795, allocations: 35.97 kB / 0.5675 GB, free: 9.082 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.1799, allocations: 71.08 kB / 0.5676 GB, free: 9.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005881/0.1858, allocations: 4.484 MB / 0.572 GB, free: 4.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/0.1863, allocations: 0.8388 MB / 0.5728 GB, free: 3.562 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.1865, allocations: 58.94 kB / 0.5728 GB, free: 3.504 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.1867, allocations: 151.4 kB / 0.573 GB, free: 3.359 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/0.1867, allocations: 0 / 0.573 GB, free: 3.359 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03344/0.2201, allocations: 8.987 MB / 0.5818 GB, free: 10.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.419/8.639, allocations: 10.75 kB / 0.5818 GB, free: 10.44 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.187214846999268]