Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001323, allocations: 94.88 kB / 17.35 MB, free: 6.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.001408/0.001408, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.517/1.517, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2622/0.2622, allocations: 44.25 MB / 337.7 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003414, allocations: 15.98 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1556, allocations: 61.92 MB / 472.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002754/0.1584, allocations: 1.499 MB / 473.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.1603, allocations: 0.924 MB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.1605, allocations: 4 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.1611, allocations: 291.4 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.1615, allocations: 195.5 kB / 475.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.162, allocations: 150.9 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003864/0.1624, allocations: 231.4 kB / 475.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.326e-05/0.1625, allocations: 13.55 kB / 475.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.1627, allocations: 111.6 kB / 475.7 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.163, allocations: 184 kB / 475.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.163, allocations: 8 kB / 475.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.1631, allocations: 43.92 kB / 475.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.1633, allocations: 128.6 kB / 476 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.1635, allocations: 168.5 kB / 476.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.1639, allocations: 346.9 kB / 476.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.164, allocations: 0 / 476.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.164, allocations: 0 / 476.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.164, allocations: 0 / 476.5 MB, free: 9.082 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.001044/0.165, allocations: 0.6611 MB / 477.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.1651, allocations: 8.031 kB / 477.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.951e-05/0.1652, allocations: 48.28 kB / 477.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006141/0.1658, allocations: 443.9 kB / 477.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.1658, allocations: 8.312 kB / 477.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.1659, allocations: 8.125 kB / 477.7 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.1661, allocations: 87.3 kB / 477.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1661, allocations: 0 / 477.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.1662, allocations: 8 kB / 477.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1662, allocations: 0 / 477.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.1663, allocations: 27.98 kB / 477.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.1667, allocations: 378.3 kB / 478.2 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.167, allocations: 105.2 kB / 478.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.741e-05/0.1671, allocations: 45.62 kB / 478.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1672, allocations: 0 / 478.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000296/0.1675, allocations: 113 kB / 478.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.1675, allocations: 0 / 478.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004954/0.168, allocations: 196.9 kB / 478.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.1681, allocations: 81.09 kB / 478.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.1691, allocations: 1.003 MB / 479.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1691, allocations: 29.69 kB / 479.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.1693, allocations: 228.1 kB / 480 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.1694, allocations: 23.7 kB / 480 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.1694, allocations: 21.72 kB / 480 MB, free: 5.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1696, allocations: 362.8 kB / 480.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.928e-05/0.1697, allocations: 27.98 kB / 480.4 MB, free: 4.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.277e-05/0.1698, allocations: 59.41 kB / 480.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.17, allocations: 91.36 kB / 480.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.17, allocations: 0 / 480.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002896/0.1703, allocations: 173.4 kB / 480.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1703, allocations: 4 kB / 480.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1703, allocations: 7.938 kB / 480.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1703, allocations: 0 / 480.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1705, allocations: 19.98 kB / 480.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.1705, allocations: 4.125 kB / 480.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.437e-05/0.1706, allocations: 19.94 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1706, allocations: 4 kB / 480.8 MB, free: 4.555 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.0003816/0.171, allocations: 230.2 kB / 481 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.1711, allocations: 47.34 kB / 481 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.976e-05/0.1712, allocations: 55.84 kB / 481.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.1712, allocations: 7.938 kB / 481.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.1712, allocations: 0 / 481.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.1712, allocations: 0 / 481.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.1716, allocations: 345.4 kB / 481.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1716, allocations: 4 kB / 481.4 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.097e-05/0.1716, allocations: 4 kB / 481.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1717, allocations: 4 kB / 481.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.1717, allocations: 3.984 kB / 481.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1717, allocations: 0 / 481.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1717, allocations: 0 / 481.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003336/0.172, allocations: 209.2 kB / 481.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.1722, allocations: 144.5 kB / 481.8 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.1722, allocations: 3.984 kB / 481.8 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.846e-05/0.1723, allocations: 8 kB / 481.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.1724, allocations: 11.92 kB / 481.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.1724, allocations: 4 kB / 481.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008634/0.1733, allocations: 0.7526 MB / 482.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1733, allocations: 0 / 482.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.1736, allocations: 48 kB / 482.6 MB, free: 2.594 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.001112/0.1747, allocations: 410.1 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.175, allocations: 83.89 kB / 483.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.175, allocations: 0 / 483.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.961e-05/0.1751, allocations: 39.92 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.1756, allocations: 74.08 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.1769, allocations: 0.9282 MB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.1775, allocations: 0.8391 MB / 485 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001282/0.1776, allocations: 55.44 kB / 485 MB, free: 284 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.103e-05/0.1777, allocations: 31.42 kB / 485.1 MB, free: 252 kB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1777, allocations: 0 / 485.1 MB, free: 252 kB / 350.1 MB Notification: Performance of Templates: time 0.008696/0.1864, allocations: 3.419 MB / 488.5 MB, free: 12.85 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches