Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 99.94 kB / 15.05 MB, free: 1.113 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.001719/0.001719, 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.648/1.648, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3643/0.3643, allocations: 38.03 MB / 308.4 MB, free: 10.48 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.0006176/0.0006177, allocations: 23.98 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1608, allocations: 57.52 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.00284/0.1637, allocations: 1.366 MB / 435.3 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.1655, allocations: 0.7343 MB / 436 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.1657, allocations: 0 / 436 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000493/0.1662, allocations: 35.83 kB / 436.1 MB, free: 3.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.1666, allocations: 39.88 kB / 436.1 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.167, allocations: 79.78 kB / 436.2 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.1673, allocations: 63.84 kB / 436.2 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1674, allocations: 20.2 kB / 436.3 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1676, allocations: 35.84 kB / 436.3 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.924e-05/0.1677, allocations: 19.86 kB / 436.3 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1677, allocations: 4 kB / 436.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.1678, allocations: 27.92 kB / 436.3 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.43e-05/0.1679, allocations: 23.91 kB / 436.4 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.125e-05/0.168, allocations: 41.58 kB / 436.4 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.1682, allocations: 84.11 kB / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1682, allocations: 0 / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1682, allocations: 0 / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1682, allocations: 0 / 436.5 MB, free: 3 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.0007342/0.1689, allocations: 394.9 kB / 436.9 MB, free: 2.566 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.169, allocations: 8.031 kB / 436.9 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.895e-05/0.1691, allocations: 15.77 kB / 436.9 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.1694, allocations: 206.9 kB / 437.1 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.1694, allocations: 8 kB / 437.1 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.1694, allocations: 0 / 437.1 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.1696, allocations: 57.61 kB / 437.2 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1697, allocations: 0 / 437.2 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1697, allocations: 3.984 kB / 437.2 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1697, allocations: 4 kB / 437.2 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.999e-05/0.1698, allocations: 23.88 kB / 437.2 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.1702, allocations: 281 kB / 437.5 MB, free: 1.875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.1704, allocations: 58.69 kB / 437.5 MB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1704, allocations: 4 kB / 437.5 MB, free: 1.805 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.1707, allocations: 67.45 kB / 437.6 MB, free: 1.727 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.1707, allocations: 0 / 437.6 MB, free: 1.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006001/0.1713, allocations: 177.1 kB / 437.8 MB, free: 1.547 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.1713, allocations: 55.41 kB / 437.8 MB, free: 1.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.1715, allocations: 182.2 kB / 438 MB, free: 1.293 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.1716, allocations: 33.7 kB / 438 MB, free: 1.254 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.1717, allocations: 104.1 kB / 438.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.1717, allocations: 19.72 kB / 438.2 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.1717, allocations: 0 / 438.2 MB, free: 1.129 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1719, allocations: 322.8 kB / 438.5 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.983e-05/0.1719, allocations: 19.98 kB / 438.5 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.86e-05/0.172, allocations: 41.7 kB / 438.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.24e-05/0.1721, allocations: 20 kB / 438.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1721, allocations: 0 / 438.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002419/0.1724, allocations: 105.4 kB / 438.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.1724, allocations: 4 kB / 438.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.1724, allocations: 7.953 kB / 438.7 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1724, allocations: 192 / 438.7 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.1725, allocations: 16.03 kB / 438.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1725, allocations: 4.094 kB / 438.7 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.496e-05/0.1726, allocations: 7.984 kB / 438.7 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.1726, allocations: 7.984 kB / 438.7 MB, free: 0.5625 MB / 366.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.0001052/0.1727, allocations: 126.8 kB / 438.8 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.1728, allocations: 7.906 kB / 438.8 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.129e-05/0.1728, allocations: 16.7 kB / 438.9 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1728, allocations: 7.953 kB / 438.9 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1728, allocations: 4 kB / 438.9 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1728, allocations: 0 / 438.9 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000544/0.1734, allocations: 391.3 kB / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1734, allocations: 4 kB / 439.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.1735, allocations: 11.94 kB / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1735, allocations: 4 kB / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1735, allocations: 3.984 kB / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1735, allocations: 0 / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.1735, allocations: 4.031 kB / 439.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.1737, allocations: 221.8 kB / 439.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.1738, allocations: 93 kB / 439.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.1738, allocations: 4.375 kB / 439.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.1739, allocations: 0 / 439.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.1739, allocations: 11.98 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.174, allocations: 8 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1741, allocations: 144.1 kB / 439.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1741, allocations: 0 / 439.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.1744, allocations: 27.98 kB / 439.8 MB, free: 15.38 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.001032/0.1754, allocations: 464.9 kB / 440.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.1756, allocations: 63.84 kB / 440.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1756, allocations: 0 / 440.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.771e-05/0.1757, allocations: 27.94 kB / 440.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.1759, allocations: 27.92 kB / 440.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.1764, allocations: 230.5 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.1768, allocations: 0.7121 MB / 441.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.91e-05/0.1769, allocations: 17.19 kB / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.1769, allocations: 15.42 kB / 441.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1769, allocations: 4 kB / 441.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of Templates: time 0.004542/0.1815, allocations: 1.579 MB / 442.9 MB, free: 12.22 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) Environment - environmentSimulation: