Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 100 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.001253/0.001253, allocations: 177.3 kB / 15.95 MB, free: 216 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.746/1.746, allocations: 205.4 MB / 222.1 MB, free: 5.898 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.3461/0.3461, allocations: 38.03 MB / 308.4 MB, free: 10.28 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.0006303/0.0006305, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1524, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002848/0.1553, allocations: 1.358 MB / 435.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.1567, allocations: 0.742 MB / 436 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.319e-05/0.1568, allocations: 0 / 436 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.1573, allocations: 27.89 kB / 436.1 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.1575, allocations: 47.77 kB / 436.1 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.1577, allocations: 71.84 kB / 436.2 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.1579, allocations: 59.86 kB / 436.2 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.158, allocations: 16.19 kB / 436.3 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.584e-05/0.1581, allocations: 39.78 kB / 436.3 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.677e-05/0.1582, allocations: 23.92 kB / 436.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.1582, allocations: 0 / 436.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.146e-05/0.1583, allocations: 31.92 kB / 436.3 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.1584, allocations: 23.91 kB / 436.4 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.1584, allocations: 45.58 kB / 436.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.1586, allocations: 76.11 kB / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.1586, allocations: 0 / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1586, allocations: 0 / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1586, 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.000543/0.1592, allocations: 391 kB / 436.9 MB, free: 2.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.1592, allocations: 8.031 kB / 436.9 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.1593, allocations: 15.8 kB / 436.9 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.1595, allocations: 210.9 kB / 437.1 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.1595, allocations: 0 / 437.1 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1596, allocations: 4 kB / 437.1 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.1597, allocations: 53.67 kB / 437.2 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1598, allocations: 3.938 kB / 437.2 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1598, allocations: 0 / 437.2 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1598, allocations: 0 / 437.2 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.812e-05/0.1599, allocations: 27.94 kB / 437.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.1603, allocations: 288.8 kB / 437.5 MB, free: 1.875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.1605, allocations: 58.67 kB / 437.5 MB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.1605, allocations: 0 / 437.5 MB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.1607, allocations: 67.45 kB / 437.6 MB, free: 1.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1607, allocations: 0 / 437.6 MB, free: 1.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006033/0.1613, allocations: 173.3 kB / 437.8 MB, free: 1.555 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.1614, allocations: 55.34 kB / 437.8 MB, free: 1.488 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.1615, allocations: 170.2 kB / 438 MB, free: 1.312 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1616, allocations: 25.7 kB / 438 MB, free: 1.281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.1616, allocations: 104 kB / 438.1 MB, free: 1.176 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.1617, allocations: 23.66 kB / 438.1 MB, free: 1.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.1617, allocations: 0 / 438.1 MB, free: 1.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.1619, allocations: 330.8 kB / 438.5 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.914e-05/0.162, allocations: 19.98 kB / 438.5 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.324e-05/0.162, allocations: 33.7 kB / 438.5 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.095e-05/0.1621, allocations: 24 kB / 438.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1621, allocations: 0 / 438.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000185/0.1623, allocations: 97.52 kB / 438.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1623, allocations: 8 kB / 438.6 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1623, allocations: 4.172 kB / 438.6 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1624, allocations: 4 kB / 438.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.987e-05/0.1625, allocations: 15.94 kB / 438.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.1625, allocations: 4 kB / 438.7 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.106e-05/0.1626, allocations: 7.984 kB / 438.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1626, allocations: 4 kB / 438.7 MB, free: 0.5898 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.0001262/0.1627, allocations: 122.8 kB / 438.8 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.1627, allocations: 7.906 kB / 438.8 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.11e-05/0.1628, allocations: 16.7 kB / 438.8 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.1628, allocations: 11.95 kB / 438.8 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1628, allocations: 0 / 438.8 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1628, allocations: 0 / 438.8 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005881/0.1634, allocations: 391.2 kB / 439.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1634, allocations: 3.938 kB / 439.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.1635, allocations: 11.95 kB / 439.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1635, allocations: 0 / 439.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.1635, allocations: 11.97 kB / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1635, allocations: 4.031 kB / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1635, allocations: 384 / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.1638, allocations: 217.9 kB / 439.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.1639, allocations: 89.02 kB / 439.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.1639, allocations: 7.984 kB / 439.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.164, allocations: 8 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.164, allocations: 4 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.1641, allocations: 11.98 kB / 439.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1642, allocations: 127.9 kB / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1642, allocations: 0 / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.1645, allocations: 24 kB / 439.7 MB, free: 15.43 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.001229/0.1657, allocations: 481 kB / 440.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.1659, allocations: 51.92 kB / 440.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1659, allocations: 0 / 440.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.133e-05/0.166, allocations: 35.92 kB / 440.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.1663, allocations: 24.06 kB / 440.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.1667, allocations: 222.1 kB / 440.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.1672, allocations: 0.7121 MB / 441.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.205e-05/0.1672, allocations: 12.88 kB / 441.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.1673, allocations: 15.44 kB / 441.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1673, allocations: 0 / 441.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of Templates: time 0.004377/0.1717, allocations: 1.584 MB / 442.8 MB, free: 12.27 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) Environment - environmentSimulation: