Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, 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.001882/0.001882, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.719/1.719, allocations: 205.1 MB / 222 MB, free: 4.762 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.3408/0.3408, allocations: 37.98 MB / 307.3 MB, free: 10.09 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.002699/0.002699, allocations: 70.39 kB / 374.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1505, allocations: 56.47 MB / 431 MB, free: 7.043 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003178/0.1538, allocations: 1.74 MB / 432.8 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.155, allocations: 0.7961 MB / 433.6 MB, free: 4.484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.097e-05/0.1551, allocations: 3.938 kB / 433.6 MB, free: 4.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.1554, allocations: 47.86 kB / 433.6 MB, free: 4.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.1556, allocations: 51.83 kB / 433.7 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.1559, allocations: 75.84 kB / 433.7 MB, free: 4.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.1561, allocations: 99.69 kB / 433.8 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1562, allocations: 12.22 kB / 433.8 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.1564, allocations: 51.66 kB / 433.9 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.53e-05/0.1565, allocations: 31.84 kB / 433.9 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.1565, allocations: 4 kB / 433.9 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.1566, allocations: 35.98 kB / 434 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.553e-05/0.1567, allocations: 23.91 kB / 434 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.194e-05/0.1568, allocations: 43.67 kB / 434 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.157, allocations: 139.8 kB / 434.2 MB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.157, allocations: 0 / 434.2 MB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.157, allocations: 0 / 434.2 MB, free: 3.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.157, allocations: 0 / 434.2 MB, free: 3.875 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.0005694/0.1576, allocations: 434.8 kB / 434.6 MB, free: 3.402 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1576, allocations: 8.031 kB / 434.6 MB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.1577, allocations: 16.75 kB / 434.6 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.1579, allocations: 219.7 kB / 434.8 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.158, allocations: 384 / 434.8 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.158, allocations: 12.12 kB / 434.8 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.1582, allocations: 57.61 kB / 434.9 MB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1582, allocations: 0 / 434.9 MB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.1582, allocations: 0 / 434.9 MB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1582, allocations: 7.984 kB / 434.9 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.316e-05/0.1583, allocations: 15.98 kB / 434.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.1587, allocations: 296.9 kB / 435.2 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.1589, allocations: 66.61 kB / 435.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.1589, allocations: 16.86 kB / 435.3 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.159, allocations: 0 / 435.3 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.1592, allocations: 63.39 kB / 435.4 MB, free: 2.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1592, allocations: 4 kB / 435.4 MB, free: 2.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005633/0.1597, allocations: 185 kB / 435.5 MB, free: 2.328 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.1598, allocations: 55.41 kB / 435.6 MB, free: 2.262 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.16, allocations: 258.8 kB / 435.8 MB, free: 1.992 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1601, allocations: 25.7 kB / 435.9 MB, free: 1.961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.113e-05/0.1602, allocations: 112.1 kB / 436 MB, free: 1.848 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.1602, allocations: 27.64 kB / 436 MB, free: 1.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.1602, allocations: 17.72 kB / 436 MB, free: 1.797 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1604, allocations: 342.7 kB / 436.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.1605, allocations: 19.98 kB / 436.4 MB, free: 1.434 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.926e-05/0.1606, allocations: 49.94 kB / 436.4 MB, free: 1.379 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.1607, allocations: 53.7 kB / 436.5 MB, free: 1.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1607, allocations: 0 / 436.5 MB, free: 1.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001865/0.1609, allocations: 109.5 kB / 436.6 MB, free: 1.207 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1609, allocations: 8.031 kB / 436.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1609, allocations: 80 / 436.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1609, allocations: 4 kB / 436.6 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.751e-05/0.161, allocations: 15.98 kB / 436.6 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.161, allocations: 3.984 kB / 436.6 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.1611, allocations: 7.938 kB / 436.6 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.1611, allocations: 0 / 436.6 MB, free: 1.168 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 ($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.0001004/0.1612, allocations: 141.7 kB / 436.8 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.1612, allocations: 15.81 kB / 436.8 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.702e-05/0.1613, allocations: 25.39 kB / 436.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1613, allocations: 0 / 436.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1613, allocations: 0 / 436.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1613, allocations: 3.938 kB / 436.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.1617, allocations: 403.3 kB / 437.2 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1618, allocations: 4 kB / 437.2 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.1618, allocations: 4 kB / 437.2 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1618, allocations: 4 kB / 437.2 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1618, allocations: 11.95 kB / 437.2 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1618, allocations: 0 / 437.2 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1618, allocations: 4 kB / 437.2 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.1621, allocations: 200.2 kB / 437.4 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.1621, allocations: 88.92 kB / 437.5 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.1621, allocations: 7.875 kB / 437.5 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.731e-05/0.1622, allocations: 19.98 kB / 437.5 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.1623, allocations: 4 kB / 437.5 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.1623, allocations: 4 kB / 437.5 MB, free: 144 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.1625, allocations: 204 kB / 437.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1625, allocations: 0 / 437.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.1627, allocations: 28 kB / 437.8 MB, free: 15.91 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.0009597/0.1637, allocations: 457.8 kB / 438.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.1639, allocations: 67.89 kB / 438.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1639, allocations: 0 / 438.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.828e-05/0.164, allocations: 20 kB / 438.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.1643, allocations: 40.03 kB / 438.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.1648, allocations: 317.4 kB / 438.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1651, allocations: 0.716 MB / 439.4 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.183e-05/0.1652, allocations: 21.16 kB / 439.4 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.1653, allocations: 15.44 kB / 439.4 MB, free: 14.24 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1653, allocations: 0 / 439.4 MB, free: 14.24 MB / 382.1 MB Notification: Performance of Templates: time 0.004241/0.1695, allocations: 1.675 MB / 441.1 MB, free: 12.57 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1)