Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 99.62 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.00156/0.00156, 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.731/1.731, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.4011/0.4011, allocations: 38.04 MB / 308.4 MB, free: 10.42 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.0006579/0.000658, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1541, allocations: 57.51 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.00233/0.1565, allocations: 1.374 MB / 435.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.158, allocations: 0.7381 MB / 436 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.808e-05/0.1581, allocations: 4 kB / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.1584, allocations: 23.91 kB / 436.1 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.1586, allocations: 47.81 kB / 436.1 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.159, allocations: 79.72 kB / 436.2 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1591, allocations: 63.86 kB / 436.2 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.816e-05/0.1592, allocations: 16.2 kB / 436.3 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.652e-05/0.1593, allocations: 35.84 kB / 436.3 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.182e-05/0.1594, allocations: 23.86 kB / 436.3 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.1595, allocations: 4 kB / 436.3 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1596, allocations: 31.92 kB / 436.4 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.29e-05/0.1596, allocations: 7.984 kB / 436.4 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.1597, allocations: 41.58 kB / 436.4 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.1598, allocations: 88.09 kB / 436.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1599, allocations: 0 / 436.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1599, allocations: 0 / 436.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1599, allocations: 0 / 436.5 MB, free: 2.996 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.0005523/0.1604, allocations: 391 kB / 436.9 MB, free: 2.566 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1605, allocations: 16.02 kB / 436.9 MB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.1605, allocations: 11.86 kB / 436.9 MB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.1608, allocations: 198.8 kB / 437.1 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.1608, allocations: 4 kB / 437.1 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.1609, allocations: 8 kB / 437.1 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.161, allocations: 49.67 kB / 437.2 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.161, allocations: 7.922 kB / 437.2 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1611, allocations: 8 kB / 437.2 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1611, allocations: 0 / 437.2 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.382e-05/0.1612, allocations: 19.94 kB / 437.2 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.1616, allocations: 288.8 kB / 437.5 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1617, allocations: 50.69 kB / 437.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1618, allocations: 0 / 437.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.162, allocations: 71.45 kB / 437.6 MB, free: 1.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.162, allocations: 0 / 437.6 MB, free: 1.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005484/0.1625, allocations: 173.3 kB / 437.8 MB, free: 1.555 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1626, allocations: 59.34 kB / 437.8 MB, free: 1.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.1628, allocations: 170.2 kB / 438 MB, free: 1.309 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.1628, allocations: 29.7 kB / 438 MB, free: 1.273 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.1629, allocations: 100 kB / 438.1 MB, free: 1.172 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.1629, allocations: 31.62 kB / 438.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.163, allocations: 0 / 438.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1631, allocations: 322.8 kB / 438.5 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.493e-05/0.1631, allocations: 20 kB / 438.5 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.85e-05/0.1632, allocations: 37.7 kB / 438.5 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.798e-05/0.1633, allocations: 23.98 kB / 438.5 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1633, allocations: 4 kB / 438.5 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001821/0.1635, allocations: 97.53 kB / 438.6 MB, free: 0.625 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1635, allocations: 4 kB / 438.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1635, allocations: 3.953 kB / 438.6 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1635, allocations: 4 kB / 438.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.1636, allocations: 16.02 kB / 438.7 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1636, allocations: 4 kB / 438.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.1637, allocations: 4 kB / 438.7 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1637, allocations: 0 / 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.0001027/0.1638, allocations: 130.8 kB / 438.8 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.1639, allocations: 11.91 kB / 438.8 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.1639, allocations: 16.7 kB / 438.8 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1639, allocations: 3.953 kB / 438.8 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.1639, allocations: 0 / 438.8 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1639, allocations: 7.984 kB / 438.8 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.1644, allocations: 391.2 kB / 439.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.1644, allocations: 7.938 kB / 439.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.1645, allocations: 7.953 kB / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1645, allocations: 4 kB / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1645, allocations: 0 / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1645, allocations: 0 / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1645, allocations: 4 kB / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.1648, allocations: 213.9 kB / 439.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.1648, allocations: 89 kB / 439.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.1649, allocations: 8 kB / 439.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.1649, allocations: 0 / 439.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.165, allocations: 7.984 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.165, allocations: 8 kB / 439.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.1651, allocations: 135.9 kB / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1651, allocations: 0 / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1654, allocations: 27.98 kB / 439.7 MB, free: 15.42 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.001067/0.1665, allocations: 473.6 kB / 440.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.1667, allocations: 67.89 kB / 440.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1667, allocations: 0 / 440.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.399e-05/0.1668, allocations: 23.94 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.0003034/0.1671, allocations: 31.92 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.0005063/0.1676, allocations: 222.2 kB / 440.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.168, allocations: 0.7043 MB / 441.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.259e-05/0.1681, allocations: 16.88 kB / 441.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.1682, allocations: 15.44 kB / 441.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1682, allocations: 0 / 441.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of Templates: time 0.005042/0.1732, allocations: 1.588 MB / 442.8 MB, free: 12.26 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) Environment - environmentSimulation: