Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001178/0.001178, allocations: 193.2 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4351/0.4351, allocations: 39.93 MB / 309.3 MB, free: 9.676 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 70.56 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1591, allocations: 56.9 MB / 433.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003432/0.1626, allocations: 1.736 MB / 435.6 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.1639, allocations: 0.7924 MB / 436.4 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.186e-05/0.164, allocations: 0 / 436.4 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.1643, allocations: 39.83 kB / 436.4 MB, free: 1.801 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.1646, allocations: 43.83 kB / 436.4 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.1648, allocations: 87.72 kB / 436.5 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.165, allocations: 87.77 kB / 436.6 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1651, allocations: 16.2 kB / 436.6 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.124e-05/0.1652, allocations: 35.8 kB / 436.7 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.6e-05/0.1653, allocations: 31.84 kB / 436.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1653, allocations: 0 / 436.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.1654, allocations: 39.92 kB / 436.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.54e-05/0.1655, allocations: 23.91 kB / 436.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.1656, allocations: 35.67 kB / 436.8 MB, free: 1.406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.1658, allocations: 115.9 kB / 436.9 MB, free: 1.293 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1658, allocations: 0 / 436.9 MB, free: 1.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.01e-07/0.1658, allocations: 0 / 436.9 MB, free: 1.293 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.1658, allocations: 0 / 436.9 MB, free: 1.293 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006399/0.1665, allocations: 411 kB / 437.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1665, allocations: 12.03 kB / 437.3 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/0.1666, allocations: 8.844 kB / 437.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.1669, allocations: 212 kB / 437.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1669, allocations: 4.312 kB / 437.5 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.1669, allocations: 12.11 kB / 437.5 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.1671, allocations: 57.67 kB / 437.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1671, allocations: 0 / 437.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1671, allocations: 0 / 437.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.1671, allocations: 0 / 437.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.054e-05/0.1672, allocations: 23.98 kB / 437.6 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.1677, allocations: 288.8 kB / 437.9 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.1679, allocations: 62.67 kB / 438 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.885e-05/0.1679, allocations: 20.84 kB / 438 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.168, allocations: 0 / 438 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.1682, allocations: 71.3 kB / 438.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1682, allocations: 0 / 438.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000624/0.1689, allocations: 169.3 kB / 438.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.1689, allocations: 51.41 kB / 438.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.1691, allocations: 186.2 kB / 438.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1692, allocations: 29.64 kB / 438.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.1693, allocations: 108.1 kB / 438.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.1693, allocations: 23.7 kB / 438.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.1694, allocations: 21.72 kB / 438.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1695, allocations: 322.8 kB / 438.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.996e-05/0.1696, allocations: 27.98 kB / 439 MB, free: 14.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.132e-05/0.1697, allocations: 37.7 kB / 439 MB, free: 14.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.1698, allocations: 53.78 kB / 439.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1698, allocations: 0 / 439.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001904/0.17, allocations: 109.5 kB / 439.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.17, allocations: 4 kB / 439.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.17, allocations: 4.219 kB / 439.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.17, allocations: 0 / 439.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1702, allocations: 27.86 kB / 439.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.1702, allocations: 0 / 439.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.1702, allocations: 3.938 kB / 439.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.1702, allocations: 8 kB / 439.2 MB, free: 14.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000124/0.1704, allocations: 129.6 kB / 439.3 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.1704, allocations: 11.91 kB / 439.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.1704, allocations: 16.72 kB / 439.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1705, allocations: 3.938 kB / 439.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1705, allocations: 0 / 439.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1705, allocations: 3.938 kB / 439.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/0.171, allocations: 395.2 kB / 439.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.171, allocations: 384 / 439.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.171, allocations: 11.98 kB / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.171, allocations: 0 / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.171, allocations: 11.97 kB / 439.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1711, allocations: 4 kB / 439.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1711, allocations: 0 / 439.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.1713, allocations: 200.2 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.273e-05/0.1714, allocations: 89 kB / 440.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.1714, allocations: 7.938 kB / 440.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.1715, allocations: 8 kB / 440.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.1715, allocations: 11.98 kB / 440.1 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.1716, allocations: 0 / 440.1 MB, free: 13.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.1717, allocations: 144.1 kB / 440.2 MB, free: 13.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1717, allocations: 0 / 440.2 MB, free: 13.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.172, allocations: 23.98 kB / 440.3 MB, free: 13.58 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001057/0.173, allocations: 477.3 kB / 440.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1732, allocations: 55.91 kB / 440.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1732, allocations: 0 / 440.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.655e-05/0.1733, allocations: 35.92 kB / 440.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.1737, allocations: 27.97 kB / 440.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005009/0.1742, allocations: 237.3 kB / 441.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.1746, allocations: 0.7121 MB / 441.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.444e-05/0.1746, allocations: 12.88 kB / 441.8 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.1747, allocations: 15.44 kB / 441.8 MB, free: 11.99 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1747, allocations: 0 / 441.8 MB, free: 11.99 MB / 382.1 MB Notification: Performance of Templates: time 0.004621/0.1793, allocations: 1.635 MB / 443.5 MB, free: 10.36 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1)