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.0009493/0.000949, allocations: 96.16 kB / 16.99 MB, free: 5.941 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.001157/0.001157, allocations: 183 kB / 17.87 MB, free: 5.609 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.477/1.477, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2074/0.2074, allocations: 44.22 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004829, allocations: 8 kB / 409.5 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1642, allocations: 61.93 MB / 471.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00249/0.1667, allocations: 1.457 MB / 472.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.1683, allocations: 0.8661 MB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1684, allocations: 3.938 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006282/0.1691, allocations: 275.4 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003779/0.1695, allocations: 199.6 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.1699, allocations: 146.2 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.1702, allocations: 163.6 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.976e-05/0.1703, allocations: 9.562 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.1704, allocations: 111.6 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.1706, allocations: 135.7 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.1706, allocations: 4 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-05/0.1707, allocations: 31.92 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.1709, allocations: 135.6 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.035e-05/0.171, allocations: 77.45 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.1713, allocations: 267.8 kB / 475.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1713, allocations: 4 kB / 475.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1713, allocations: 0 / 475.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1713, allocations: 0 / 475.3 MB, free: 9.828 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.0009125/0.1722, allocations: 0.6609 MB / 476 MB, free: 9.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1723, allocations: 12.55 kB / 476 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.127e-05/0.1723, allocations: 47.34 kB / 476 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005944/0.1729, allocations: 411.2 kB / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.173, allocations: 4 kB / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.173, allocations: 8 kB / 476.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.1732, allocations: 83.31 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1732, allocations: 7.922 kB / 476.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.1733, allocations: 8 kB / 476.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1733, allocations: 0 / 476.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.918e-05/0.1734, allocations: 27.97 kB / 476.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.1738, allocations: 382.3 kB / 477 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.1741, allocations: 105.3 kB / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.1741, allocations: 0 / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.1744, allocations: 109.1 kB / 477.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1744, allocations: 4 kB / 477.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004846/0.1749, allocations: 193.4 kB / 477.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.1749, allocations: 81.09 kB / 477.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.176, allocations: 1.007 MB / 478.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.176, allocations: 29.7 kB / 478.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.1762, allocations: 232.1 kB / 478.7 MB, free: 6.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.1763, allocations: 19.72 kB / 478.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.1763, allocations: 4 kB / 478.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1764, allocations: 366.8 kB / 479.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.889e-05/0.1765, allocations: 23.98 kB / 479.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.006e-05/0.1766, allocations: 59.41 kB / 479.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.87e-05/0.1767, allocations: 43.98 kB / 479.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1767, allocations: 0 / 479.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002927/0.177, allocations: 164.9 kB / 479.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1771, allocations: 15.89 kB / 479.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1771, allocations: 0 / 479.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1771, allocations: 0 / 479.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1772, allocations: 23.98 kB / 479.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1773, allocations: 64 / 479.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.88e-05/0.1774, allocations: 19.94 kB / 479.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.1774, allocations: 11.92 kB / 479.4 MB, free: 5.453 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002185/0.1776, allocations: 213.8 kB / 479.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.1777, allocations: 47.34 kB / 479.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.732e-05/0.1778, allocations: 63.8 kB / 479.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1778, allocations: 0 / 479.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1778, allocations: 0 / 479.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1778, allocations: 7.984 kB / 479.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.1781, allocations: 333.5 kB / 480.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1781, allocations: 0 / 480.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.1781, allocations: 12 kB / 480.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1781, allocations: 0 / 480.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1782, allocations: 3.984 kB / 480.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1782, allocations: 7.953 kB / 480.1 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1782, allocations: 3.938 kB / 480.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.1785, allocations: 203 kB / 480.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.1787, allocations: 148.5 kB / 480.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.03e-05/0.1787, allocations: 12.02 kB / 480.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/0.1788, allocations: 12 kB / 480.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.1789, allocations: 7.984 kB / 480.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.1789, allocations: 4 kB / 480.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000783/0.1797, allocations: 0.7526 MB / 481.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1797, allocations: 4 kB / 481.2 MB, free: 3.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.18, allocations: 44 kB / 481.3 MB, free: 3.488 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009459/0.1809, allocations: 410.1 kB / 481.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.1812, allocations: 83.89 kB / 481.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1812, allocations: 0 / 481.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.807e-05/0.1813, allocations: 44.17 kB / 481.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.1816, allocations: 60.16 kB / 481.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.1828, allocations: 0.8853 MB / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.1832, allocations: 0.8468 MB / 483.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.1833, allocations: 54.94 kB / 483.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.1834, allocations: 35.38 kB / 483.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1834, allocations: 0 / 483.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of Templates: time 0.007082/0.1905, allocations: 3.335 MB / 487 MB, free: 13.87 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches