Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001625/0.001625, allocations: 191.4 kB / 16.25 MB, free: 6.621 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.712/1.712, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.4202/0.4202, allocations: 39.92 MB / 309.4 MB, free: 9.02 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.001446/0.001446, allocations: 67.91 kB / 377.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1619, allocations: 56.88 MB / 434 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003409/0.1654, allocations: 1.716 MB / 435.7 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1668, allocations: 0.7806 MB / 436.5 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.499e-05/0.1669, allocations: 0 / 436.5 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.1674, allocations: 51.86 kB / 436.5 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.1677, allocations: 59.75 kB / 436.6 MB, free: 1.109 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.168, allocations: 75.89 kB / 436.7 MB, free: 1.035 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.1683, allocations: 95.7 kB / 436.8 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.358e-05/0.1684, allocations: 11.98 kB / 436.8 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.1685, allocations: 51.7 kB / 436.8 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1686, allocations: 39.84 kB / 436.9 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.1686, allocations: 4 kB / 436.9 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.1688, allocations: 35.97 kB / 436.9 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.991e-05/0.1689, allocations: 19.92 kB / 436.9 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.56e-05/0.1689, allocations: 31.75 kB / 437 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.1692, allocations: 95.92 kB / 437.1 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1692, allocations: 0 / 437.1 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1692, allocations: 4 kB / 437.1 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.1692, allocations: 4 kB / 437.1 MB, free: 0.6484 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005749/0.1698, allocations: 402.9 kB / 437.5 MB, free: 212 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.1698, allocations: 15.89 kB / 437.5 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.1699, allocations: 8.844 kB / 437.5 MB, free: 188 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.1702, allocations: 200.1 kB / 437.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1702, allocations: 4.375 kB / 437.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.1702, allocations: 4.125 kB / 437.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1704, allocations: 57.61 kB / 437.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.1704, allocations: 0 / 437.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1704, allocations: 4 kB / 437.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1704, allocations: 3.938 kB / 437.8 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.51e-05/0.1705, allocations: 15.94 kB / 437.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.1708, allocations: 185.7 kB / 437.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.1709, allocations: 46.62 kB / 438 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.171, allocations: 28.78 kB / 438 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.171, allocations: 0 / 438 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.1712, allocations: 75.31 kB / 438.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.1712, allocations: 0 / 438.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002916/0.1715, allocations: 89.58 kB / 438.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.1716, allocations: 51.41 kB / 438.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.1718, allocations: 186.2 kB / 438.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.1718, allocations: 29.7 kB / 438.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/0.1719, allocations: 96.14 kB / 438.5 MB, free: 14.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.1719, allocations: 19.73 kB / 438.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.1719, allocations: 17.72 kB / 438.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1721, allocations: 322.8 kB / 438.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.01e-05/0.1721, allocations: 19.98 kB / 438.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.111e-05/0.1722, allocations: 25.72 kB / 438.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.759e-05/0.1723, allocations: 49.95 kB / 439 MB, free: 14.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1723, allocations: 0 / 439 MB, free: 14.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001463/0.1725, allocations: 81.47 kB / 439.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1725, allocations: 4 kB / 439.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.1725, allocations: 0 / 439.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1725, allocations: 4 kB / 439.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.144e-05/0.1726, allocations: 11.98 kB / 439.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1726, allocations: 4.031 kB / 439.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.1727, allocations: 7.906 kB / 439.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.1727, allocations: 0 / 439.1 MB, free: 14.38 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 (7): * Single equations (assignments): 7 * 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.0001219/0.1728, allocations: 133.7 kB / 439.2 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.1729, allocations: 11.91 kB / 439.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.1729, allocations: 12.31 kB / 439.2 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1729, allocations: 0 / 439.2 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1729, allocations: 0 / 439.2 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1729, allocations: 3.984 kB / 439.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.1731, allocations: 189.5 kB / 439.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1731, allocations: 0 / 439.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.1731, allocations: 7.938 kB / 439.4 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1731, allocations: 0 / 439.4 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1731, allocations: 4 kB / 439.4 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1732, allocations: 0 / 439.4 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1732, allocations: 0 / 439.4 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.1733, allocations: 109 kB / 439.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.1734, allocations: 85.02 kB / 439.6 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.1734, allocations: 11.86 kB / 439.7 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.565e-05/0.1735, allocations: 8.125 kB / 439.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.1735, allocations: 4 kB / 439.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.1735, allocations: 4 kB / 439.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.1736, allocations: 144 kB / 439.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1736, allocations: 0 / 439.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002102/0.1739, allocations: 23.91 kB / 439.8 MB, free: 13.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008966/0.1748, allocations: 402.7 kB / 440.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001531/0.1749, allocations: 51.91 kB / 440.3 MB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1749, allocations: 0 / 440.3 MB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.728e-05/0.175, allocations: 19.94 kB / 440.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.1753, allocations: 43.88 kB / 440.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.1759, allocations: 218.1 kB / 440.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1762, allocations: 0.7041 MB / 441.3 MB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.362e-05/0.1763, allocations: 8.547 kB / 441.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.1763, allocations: 19.42 kB / 441.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1764, allocations: 4 kB / 441.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of Templates: time 0.004777/0.1811, allocations: 1.443 MB / 442.7 MB, free: 10.62 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1)