Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001192/0.001192, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.395/1.395, allocations: 222.9 MB / 242.9 MB, free: 15.22 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.2168/0.2169, allocations: 44.18 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 69.36 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.149, allocations: 60.82 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00666/0.1558, allocations: 1.785 MB / 471.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003098/0.1589, allocations: 0.9665 MB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.1592, allocations: 0 / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007533/0.16, allocations: 299.3 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000571/0.1606, allocations: 203.4 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000682/0.1613, allocations: 178.8 kB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.1617, allocations: 239.4 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.739e-05/0.1618, allocations: 9.562 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.1621, allocations: 123.6 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003333/0.1624, allocations: 192 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.1625, allocations: 4 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.1626, allocations: 43.98 kB / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.1628, allocations: 132.5 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.1631, allocations: 142.8 kB / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000542/0.1636, allocations: 363 kB / 474.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1636, allocations: 0 / 474.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1636, allocations: 0 / 474.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1637, allocations: 0 / 474.6 MB, free: 9.711 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.001241/0.1649, allocations: 0.7113 MB / 475.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.165, allocations: 12.02 kB / 475.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.1651, allocations: 48.28 kB / 475.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007519/0.1659, allocations: 439.9 kB / 475.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.1659, allocations: 4.375 kB / 475.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.1659, allocations: 8.125 kB / 475.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.1662, allocations: 83.36 kB / 475.9 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.1662, allocations: 0 / 475.9 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.1663, allocations: 0 / 475.9 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1663, allocations: 7.938 kB / 475.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.1665, allocations: 35.95 kB / 475.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005623/0.167, allocations: 374.3 kB / 476.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.1674, allocations: 105.2 kB / 476.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.1676, allocations: 41.64 kB / 476.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.1676, allocations: 4 kB / 476.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003734/0.168, allocations: 113 kB / 476.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.913e-06/0.168, allocations: 0 / 476.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006364/0.1687, allocations: 208.8 kB / 476.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/0.1687, allocations: 81.11 kB / 476.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.1702, allocations: 1.003 MB / 477.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1702, allocations: 29.7 kB / 477.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.1705, allocations: 232.1 kB / 478.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.222e-05/0.1705, allocations: 19.72 kB / 478.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.11e-05/0.1706, allocations: 33.7 kB / 478.1 MB, free: 5.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.1708, allocations: 366.8 kB / 478.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.171, allocations: 27.98 kB / 478.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.1711, allocations: 55.42 kB / 478.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.1714, allocations: 91.34 kB / 478.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1714, allocations: 0 / 478.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004368/0.1719, allocations: 168.9 kB / 478.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1719, allocations: 4 kB / 478.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1719, allocations: 7.984 kB / 478.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.172, allocations: 3.938 kB / 478.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.1721, allocations: 20.62 kB / 478.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1721, allocations: 0 / 478.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.1723, allocations: 15.92 kB / 478.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.1723, allocations: 4 kB / 478.9 MB, free: 5.117 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.0003286/0.1727, allocations: 225.7 kB / 479.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.441e-05/0.1728, allocations: 51.34 kB / 479.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.1729, allocations: 67.78 kB / 479.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.1729, allocations: 4 kB / 479.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1729, allocations: 0 / 479.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.173, allocations: 0 / 479.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004455/0.1734, allocations: 329.4 kB / 479.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1734, allocations: 4 kB / 479.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.867e-05/0.1735, allocations: 7.984 kB / 479.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.1735, allocations: 0 / 479.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.1735, allocations: 12 kB / 479.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1735, allocations: 0 / 479.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1735, allocations: 0 / 479.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004285/0.174, allocations: 201.2 kB / 479.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.1742, allocations: 136.5 kB / 479.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.1742, allocations: 7.984 kB / 479.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.1744, allocations: 12.09 kB / 479.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.1744, allocations: 11.92 kB / 479.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.1745, allocations: 4 kB / 479.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001062/0.1755, allocations: 0.7487 MB / 480.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1755, allocations: 0 / 480.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004278/0.176, allocations: 40 kB / 480.7 MB, free: 3.176 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.001425/0.1774, allocations: 420.3 kB / 481.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003483/0.1778, allocations: 91.89 kB / 481.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1778, allocations: 0 / 481.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.1779, allocations: 39.92 kB / 481.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005931/0.1785, allocations: 81.38 kB / 481.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.1798, allocations: 0.8956 MB / 482.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.1802, allocations: 0.8349 MB / 483.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.004e-05/0.1803, allocations: 31.42 kB / 483.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1803, allocations: 0 / 483.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of Templates: time 0.008362/0.1887, allocations: 4.951 MB / 488 MB, free: 11.95 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches