Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009052/0.0009054, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.00759/0.007591, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.94/1.94, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.3897/0.3897, allocations: 40 MB / 310.7 MB, free: 9.598 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.0005526/0.0005526, allocations: 16 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.155, allocations: 57.95 MB / 437.4 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002413/0.1575, allocations: 1.405 MB / 438.8 MB, free: 496 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1589, allocations: 0.7807 MB / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.159, allocations: 4 kB / 439.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.1594, allocations: 39.83 kB / 439.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.1595, allocations: 47.83 kB / 439.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.1598, allocations: 79.77 kB / 439.8 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.1599, allocations: 91.7 kB / 439.9 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1601, allocations: 12.22 kB / 439.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.157e-05/0.1602, allocations: 43.78 kB / 439.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.702e-05/0.1602, allocations: 31.84 kB / 439.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.1603, allocations: 0 / 439.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.193e-05/0.1604, allocations: 39.92 kB / 440 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.1604, allocations: 23.91 kB / 440 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.097e-05/0.1605, allocations: 57.45 kB / 440.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.1607, allocations: 115.9 kB / 440.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1607, allocations: 0 / 440.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1607, allocations: 0 / 440.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1608, allocations: 0 / 440.2 MB, free: 15.11 MB / 382.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.0005389/0.1613, allocations: 411 kB / 440.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1613, allocations: 8.031 kB / 440.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.1614, allocations: 8.844 kB / 440.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1616, allocations: 208.7 kB / 440.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.1617, allocations: 4.359 kB / 440.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.1617, allocations: 12.12 kB / 440.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1618, allocations: 49.67 kB / 440.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1619, allocations: 3.938 kB / 440.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1619, allocations: 8 kB / 440.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.1619, allocations: 3.984 kB / 440.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.012e-05/0.162, allocations: 19.98 kB / 440.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.1624, allocations: 288.9 kB / 441.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.1626, allocations: 54.62 kB / 441.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.1626, allocations: 28.84 kB / 441.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1627, allocations: 0 / 441.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.1629, allocations: 63.39 kB / 441.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1629, allocations: 0 / 441.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005611/0.1634, allocations: 173.1 kB / 441.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.1635, allocations: 55.41 kB / 441.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.1637, allocations: 199.3 kB / 441.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1638, allocations: 25.7 kB / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.1638, allocations: 112.1 kB / 441.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.1639, allocations: 19.7 kB / 441.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.1639, allocations: 13.72 kB / 441.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1641, allocations: 326.8 kB / 442.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.609e-05/0.1641, allocations: 23.98 kB / 442.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.275e-05/0.1642, allocations: 29.72 kB / 442.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1643, allocations: 69.69 kB / 442.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1643, allocations: 0 / 442.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001757/0.1645, allocations: 101.4 kB / 442.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1645, allocations: 11.94 kB / 442.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1645, allocations: 0 / 442.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1646, allocations: 0 / 442.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.002e-05/0.1646, allocations: 12 kB / 442.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1647, allocations: 7.938 kB / 442.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.1647, allocations: 15.95 kB / 442.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.1647, allocations: 4 kB / 442.5 MB, free: 12.55 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 (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.0001024/0.1648, allocations: 125.4 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.1649, allocations: 15.89 kB / 442.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.433e-05/0.1649, allocations: 17.56 kB / 442.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.165, allocations: 384 / 442.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.165, allocations: 4 kB / 442.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.165, allocations: 3.938 kB / 442.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.1655, allocations: 399.4 kB / 443 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.1655, allocations: 7.984 kB / 443.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.1655, allocations: 11.94 kB / 443.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1655, allocations: 4 kB / 443.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1655, allocations: 3.938 kB / 443.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1655, allocations: 0 / 443.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.1656, allocations: 4 kB / 443.1 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.1658, allocations: 204.3 kB / 443.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.1658, allocations: 92.91 kB / 443.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1659, allocations: 3.938 kB / 443.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.166, allocations: 4 kB / 443.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.166, allocations: 7.984 kB / 443.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.166, allocations: 4 kB / 443.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.1662, allocations: 160.9 kB / 443.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1662, allocations: 0 / 443.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.1664, allocations: 20 kB / 443.6 MB, free: 11.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 (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.001006/0.1674, allocations: 465 kB / 444 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.1676, allocations: 55.91 kB / 444.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1676, allocations: 0 / 444.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.271e-05/0.1677, allocations: 35.92 kB / 444.1 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.1681, allocations: 23.98 kB / 444.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.1686, allocations: 258.5 kB / 444.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.1689, allocations: 0.7043 MB / 445.1 MB, free: 9.816 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.31e-05/0.1689, allocations: 25.16 kB / 445.1 MB, free: 9.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.169, allocations: 19.44 kB / 445.1 MB, free: 9.773 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.169, allocations: 3.938 kB / 445.1 MB, free: 9.77 MB / 382.1 MB Notification: Performance of Templates: time 0.004772/0.1738, allocations: 1.612 MB / 446.7 MB, free: 8.16 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) Environment - environmentSimulation: