Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2353/0.2353, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 66.73 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1505, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003764/0.1543, allocations: 1.793 MB / 471.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.1562, allocations: 0.9588 MB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.017e-05/0.1563, allocations: 0 / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005026/0.1568, allocations: 307.2 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003587/0.1572, allocations: 207.4 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.1576, allocations: 179.2 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.1579, allocations: 239.4 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.671e-05/0.158, allocations: 17.53 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.1581, allocations: 127.6 kB / 473.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.1584, allocations: 191.5 kB / 473.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.1584, allocations: 8 kB / 473.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1585, allocations: 43.98 kB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.1587, allocations: 135.6 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.1589, allocations: 150.8 kB / 473.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003867/0.1592, allocations: 359 kB / 474 MB, free: 9.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1593, allocations: 0 / 474 MB, free: 9.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1593, allocations: 4 kB / 474 MB, free: 9.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1593, allocations: 0 / 474 MB, free: 9.566 MB / 350.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.00103/0.1603, allocations: 0.723 MB / 474.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.1604, allocations: 12.03 kB / 474.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.116e-05/0.1604, allocations: 34.75 kB / 474.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.99e-05/0.1605, allocations: 48.28 kB / 474.9 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000575/0.1611, allocations: 447.9 kB / 475.3 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.1611, allocations: 4.375 kB / 475.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.1612, allocations: 7.938 kB / 475.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.1614, allocations: 91.23 kB / 475.4 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1614, allocations: 0 / 475.4 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1614, allocations: 0 / 475.4 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.1615, allocations: 4 kB / 475.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1616, allocations: 31.97 kB / 475.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.162, allocations: 374.4 kB / 475.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.1623, allocations: 113.1 kB / 475.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/0.1624, allocations: 41.7 kB / 475.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1624, allocations: 4 kB / 476 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003311/0.1628, allocations: 112.9 kB / 476.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1628, allocations: 0 / 476.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004719/0.1633, allocations: 197 kB / 476.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.1633, allocations: 85.11 kB / 476.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.1644, allocations: 1.034 MB / 477.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1644, allocations: 33.64 kB / 477.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.1646, allocations: 232.1 kB / 477.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.462e-05/0.1646, allocations: 27.56 kB / 477.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/0.1647, allocations: 29.7 kB / 477.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.1649, allocations: 366.8 kB / 478 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.919e-05/0.165, allocations: 31.98 kB / 478.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.1651, allocations: 59.41 kB / 478.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.1653, allocations: 87.86 kB / 478.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.751e-05/0.1653, allocations: 7.938 kB / 478.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002945/0.1656, allocations: 169 kB / 478.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1657, allocations: 4 kB / 478.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1657, allocations: 0 / 478.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1657, allocations: 4 kB / 478.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1658, allocations: 19.98 kB / 478.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1658, allocations: 4 kB / 478.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.164e-05/0.1659, allocations: 11.91 kB / 478.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.166, allocations: 4 kB / 478.4 MB, free: 4.867 MB / 350.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.0002724/0.1662, allocations: 237.6 kB / 478.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.298e-05/0.1663, allocations: 47.34 kB / 478.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.582e-05/0.1664, allocations: 60 kB / 478.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1664, allocations: 0 / 478.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.1665, allocations: 4 kB / 478.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1665, allocations: 3.938 kB / 478.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.1669, allocations: 345.4 kB / 479.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1669, allocations: 0 / 479.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.1669, allocations: 4 kB / 479.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.1669, allocations: 8 kB / 479.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.1669, allocations: 3.984 kB / 479.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.167, allocations: 0 / 479.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.167, allocations: 4 kB / 479.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.1673, allocations: 201.2 kB / 479.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.1675, allocations: 136.5 kB / 479.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.1675, allocations: 4.125 kB / 479.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.767e-05/0.1676, allocations: 11.98 kB / 479.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.1677, allocations: 11.98 kB / 479.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.1677, allocations: 4 kB / 479.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008648/0.1686, allocations: 0.7722 MB / 480.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1686, allocations: 3.938 kB / 480.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1689, allocations: 43.98 kB / 480.3 MB, free: 2.883 MB / 350.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.00149/0.1704, allocations: 1.043 MB / 481.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.1706, allocations: 91.89 kB / 481.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1706, allocations: 0 / 481.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.1708, allocations: 44.05 kB / 481.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.1712, allocations: 76.09 kB / 481.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005345/0.1765, allocations: 4.63 MB / 486.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.177, allocations: 0.8465 MB / 487 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.1772, allocations: 50.95 kB / 487.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.1774, allocations: 155.4 kB / 487.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1774, allocations: 0 / 487.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.2072, allocations: 8.765 MB / 496 MB, free: 3.301 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.477/7.684, allocations: 12 kB / 496 MB, free: 3.289 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5078]=8000.000000 File[567]=2048.000000 " Variables in the reference:time,startTime_0.y[1],startTime.y[1] Variables in the result:time,startTime.y[1],startTime_0.y[1],startTime.offset[1],startTime.shiftTime,startTime.startTime