Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008526/0.0008528, allocations: 89.17 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4918/0.4918, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004388, allocations: 19.98 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1568, allocations: 58.84 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002892/0.1597, allocations: 1.684 MB / 491.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.1613, allocations: 0.8084 MB / 492.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.1615, allocations: 7.938 kB / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003482/0.1618, allocations: 47.69 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.1621, allocations: 51.7 kB / 492.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.1624, allocations: 107.8 kB / 492.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.1626, allocations: 175.4 kB / 493.1 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1627, allocations: 25.66 kB / 493.1 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.1629, allocations: 63.7 kB / 493.2 MB, free: 8.238 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.163, allocations: 67.67 kB / 493.3 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.163, allocations: 15.94 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1632, allocations: 39.98 kB / 493.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.1632, allocations: 27.89 kB / 493.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.1633, allocations: 53.58 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.1635, allocations: 124 kB / 493.5 MB, free: 7.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1635, allocations: 4 kB / 493.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1635, allocations: 0 / 493.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.1636, allocations: 0 / 493.5 MB, free: 7.906 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001104/0.1647, allocations: 0.5486 MB / 494.1 MB, free: 7.297 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.1647, allocations: 12.02 kB / 494.1 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.245e-05/0.1648, allocations: 19.81 kB / 494.1 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.1652, allocations: 239.5 kB / 494.3 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.1652, allocations: 11.98 kB / 494.4 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.1653, allocations: 12 kB / 494.4 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/0.1658, allocations: 163.3 kB / 494.5 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1658, allocations: 4 kB / 494.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.1658, allocations: 8 kB / 494.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.567e-06/0.1658, allocations: 7.891 kB / 494.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004989/0.1664, allocations: 131.9 kB / 494.7 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008095/0.1672, allocations: 0.5477 MB / 495.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007384/0.1679, allocations: 178.6 kB / 495.4 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.1682, allocations: 88.73 kB / 495.5 MB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.1683, allocations: 7.984 kB / 495.5 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000498/0.1688, allocations: 147.3 kB / 495.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.064e-06/0.1688, allocations: 0 / 495.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009942/0.1698, allocations: 305.1 kB / 495.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.1698, allocations: 51.41 kB / 496 MB, free: 5.234 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.1701, allocations: 227.2 kB / 496.2 MB, free: 5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.1701, allocations: 25.7 kB / 496.2 MB, free: 4.969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.1702, allocations: 124.2 kB / 496.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.1703, allocations: 39.69 kB / 496.4 MB, free: 4.805 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.1703, allocations: 0 / 496.4 MB, free: 4.805 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1705, allocations: 326.8 kB / 496.7 MB, free: 4.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.1708, allocations: 87.88 kB / 496.8 MB, free: 4.391 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.1711, allocations: 120.2 kB / 496.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.1714, allocations: 109.7 kB / 497 MB, free: 4.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1714, allocations: 0 / 497 MB, free: 4.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006814/0.1721, allocations: 282.9 kB / 497.3 MB, free: 3.855 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.86e-05/0.1721, allocations: 37.7 kB / 497.3 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1721, allocations: 0 / 497.3 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1722, allocations: 8.125 kB / 497.3 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.1724, allocations: 43.89 kB / 497.4 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.1724, allocations: 4 kB / 497.4 MB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.1726, allocations: 35.91 kB / 497.4 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.1726, allocations: 8 kB / 497.4 MB, free: 3.715 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001789/0.1728, allocations: 133.7 kB / 497.6 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.1729, allocations: 19.72 kB / 497.6 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.017e-05/0.1729, allocations: 21.39 kB / 497.6 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.173, allocations: 4 kB / 497.6 MB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.173, allocations: 3.938 kB / 497.6 MB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.173, allocations: 0 / 497.6 MB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.1733, allocations: 241.5 kB / 497.8 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1733, allocations: 0 / 497.8 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.1735, allocations: 31.97 kB / 497.9 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1735, allocations: 0 / 497.9 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.1736, allocations: 4 kB / 497.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1736, allocations: 0 / 497.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1736, allocations: 0 / 497.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009648/0.1746, allocations: 336.7 kB / 498.2 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.51e-05/0.1746, allocations: 100.8 kB / 498.3 MB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.1747, allocations: 7.984 kB / 498.3 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.1749, allocations: 32.03 kB / 498.3 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.175, allocations: 23.91 kB / 498.4 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.175, allocations: 8 kB / 498.4 MB, free: 2.672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001627/0.1752, allocations: 168.6 kB / 498.5 MB, free: 2.508 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1752, allocations: 0 / 498.5 MB, free: 2.508 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002762/0.1755, allocations: 35.91 kB / 498.6 MB, free: 2.473 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001007/0.1765, allocations: 414.1 kB / 499 MB, free: 2.109 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006629/0.1771, allocations: 239.3 kB / 499.2 MB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1772, allocations: 0 / 499.2 MB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000279/0.1775, allocations: 92 kB / 499.3 MB, free: 1.773 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.1778, allocations: 43.91 kB / 499.3 MB, free: 1.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008073/0.1786, allocations: 375.8 kB / 499.7 MB, free: 1.328 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.1791, allocations: 0.7244 MB / 0.4887 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.216e-05/0.1792, allocations: 23.42 kB / 0.4887 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1792, allocations: 3.938 kB / 0.4887 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of Templates: time 0.2455/0.4247, allocations: 2.754 MB / 0.4914 GB, free: 42.75 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)