Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001038, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001039/0.001039, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3639/0.3639, allocations: 38.03 MB / 308.4 MB, free: 10.55 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.1. 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.0009873/0.0009874, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1611, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002336/0.1635, allocations: 1.362 MB / 435.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.1657, allocations: 1.313 MB / 436.6 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.1658, allocations: 8 kB / 436.6 MB, free: 2.875 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.1662, allocations: 27.84 kB / 436.6 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.1665, allocations: 55.75 kB / 436.7 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.1669, allocations: 71.78 kB / 436.8 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.1671, allocations: 55.92 kB / 436.8 MB, free: 2.668 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1673, allocations: 8.219 kB / 436.8 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.1674, allocations: 39.78 kB / 436.9 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.1676, allocations: 31.84 kB / 436.9 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.1676, allocations: 11.94 kB / 436.9 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.1678, allocations: 39.97 kB / 436.9 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.1679, allocations: 8 kB / 437 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.979e-05/0.1679, allocations: 37.62 kB / 437 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.1682, allocations: 92.03 kB / 437.1 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.1682, allocations: 0 / 437.1 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1682, allocations: 0 / 437.1 MB, free: 2.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1682, allocations: 0 / 437.1 MB, free: 2.398 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.0007216/0.169, allocations: 391 kB / 437.5 MB, free: 1.969 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.169, allocations: 12.03 kB / 437.5 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.603e-05/0.1691, allocations: 15.84 kB / 437.5 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.1695, allocations: 202.9 kB / 437.7 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.938e-05/0.1696, allocations: 0 / 437.7 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.1696, allocations: 7.984 kB / 437.7 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.1699, allocations: 67.39 kB / 437.8 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.1699, allocations: 0 / 437.8 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.1699, allocations: 7.938 kB / 437.8 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.1699, allocations: 8 kB / 437.8 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.449e-05/0.17, allocations: 27.86 kB / 437.8 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.1705, allocations: 280.9 kB / 438.1 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.1707, allocations: 54.62 kB / 438.1 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.1707, allocations: 0 / 438.1 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.1709, allocations: 79.39 kB / 438.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1709, allocations: 4 kB / 438.2 MB, free: 1.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005716/0.1715, allocations: 165.2 kB / 438.4 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.1716, allocations: 81.09 kB / 438.5 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.1717, allocations: 145.8 kB / 438.6 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1718, allocations: 25.7 kB / 438.6 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.1718, allocations: 108.1 kB / 438.7 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.1719, allocations: 23.66 kB / 438.8 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.1719, allocations: 0 / 438.8 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.172, allocations: 322.8 kB / 439.1 MB, free: 192 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.623e-05/0.1721, allocations: 23.98 kB / 439.1 MB, free: 168 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.199e-05/0.1721, allocations: 38.56 kB / 439.1 MB, free: 120 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.904e-05/0.1722, allocations: 20 kB / 439.1 MB, free: 100 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1722, allocations: 4.031 kB / 439.2 MB, free: 96 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002109/0.1724, allocations: 105.5 kB / 439.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1725, allocations: 8 kB / 439.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1725, allocations: 0 / 439.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1725, allocations: 0 / 439.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/0.1726, allocations: 12 kB / 439.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.1726, allocations: 7.938 kB / 439.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.345e-05/0.1727, allocations: 3.984 kB / 439.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1727, allocations: 4 kB / 439.3 MB, free: 15.95 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.1728, allocations: 126.9 kB / 439.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.1728, allocations: 15.77 kB / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.1729, allocations: 16.7 kB / 439.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.1729, allocations: 0 / 439.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1729, allocations: 0 / 439.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1729, allocations: 0 / 439.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/0.1734, allocations: 387.3 kB / 439.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1734, allocations: 4.031 kB / 439.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/0.1735, allocations: 11.98 kB / 439.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1735, allocations: 0 / 439.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.1735, allocations: 11.94 kB / 439.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1735, allocations: 384 / 439.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1735, allocations: 192 / 439.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.1738, allocations: 221.9 kB / 440.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.1739, allocations: 92.94 kB / 440.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.1739, allocations: 4 kB / 440.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-05/0.174, allocations: 8 kB / 440.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.1741, allocations: 7.984 kB / 440.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.1741, allocations: 4 kB / 440.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1742, allocations: 122.5 kB / 440.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1742, allocations: 0 / 440.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002946/0.1745, allocations: 28 kB / 440.3 MB, free: 14.8 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 (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.001243/0.1758, allocations: 0.5081 MB / 440.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.176, allocations: 51.92 kB / 440.9 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.176, allocations: 4 kB / 440.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.415e-05/0.1761, allocations: 31.92 kB / 440.9 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.1763, allocations: 19.98 kB / 440.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004496/0.1768, allocations: 210.2 kB / 441.1 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.1772, allocations: 0.6965 MB / 441.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.1773, allocations: 25.17 kB / 441.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.1773, allocations: 15.44 kB / 441.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1773, allocations: 0 / 441.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of Templates: time 0.005119/0.1825, allocations: 1.834 MB / 443.7 MB, free: 11.37 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) Environment - environmentSimulation: