Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 99.55 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.001275/0.001275, 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.756/1.756, allocations: 205.4 MB / 222.1 MB, free: 5.535 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.4645/0.4645, allocations: 38.04 MB / 308.4 MB, free: 10.45 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.0006552/0.0006556, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1496, allocations: 57.52 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002658/0.1523, allocations: 1.362 MB / 435.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.1539, allocations: 0.7498 MB / 436 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.154, allocations: 0 / 436 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004691/0.1545, allocations: 91.73 kB / 436.1 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.1549, allocations: 79.77 kB / 436.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.1553, allocations: 71.84 kB / 436.3 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.1556, allocations: 71.83 kB / 436.4 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1557, allocations: 12.22 kB / 436.4 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.1559, allocations: 51.77 kB / 436.4 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.156, allocations: 47.89 kB / 436.5 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.1561, allocations: 7.922 kB / 436.5 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.1563, allocations: 24 kB / 436.5 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.1563, allocations: 23.84 kB / 436.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.1565, allocations: 41.64 kB / 436.6 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.1567, allocations: 92.08 kB / 436.6 MB, free: 2.844 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1567, allocations: 0 / 436.6 MB, free: 2.844 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1568, allocations: 0 / 436.6 MB, free: 2.844 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1568, allocations: 0 / 436.6 MB, free: 2.844 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.0008781/0.1577, allocations: 410.8 kB / 437 MB, free: 2.395 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1577, allocations: 12.03 kB / 437.1 MB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.723e-05/0.1578, allocations: 15.77 kB / 437.1 MB, free: 2.367 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.1581, allocations: 215.6 kB / 437.3 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1581, allocations: 0 / 437.3 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.1582, allocations: 0 / 437.3 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.1584, allocations: 61.55 kB / 437.3 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1584, allocations: 4 kB / 437.4 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.1584, allocations: 3.984 kB / 437.4 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1584, allocations: 0 / 437.4 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.366e-05/0.1585, allocations: 31.94 kB / 437.4 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.159, allocations: 288.9 kB / 437.7 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.1592, allocations: 62.59 kB / 437.7 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.1592, allocations: 4 kB / 437.7 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.1594, allocations: 67.52 kB / 437.8 MB, free: 1.527 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1595, allocations: 0 / 437.8 MB, free: 1.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006184/0.1601, allocations: 177.1 kB / 438 MB, free: 1.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.1601, allocations: 55.41 kB / 438 MB, free: 1.281 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.1604, allocations: 238.2 kB / 438.3 MB, free: 1.035 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1604, allocations: 29.7 kB / 438.3 MB, free: 1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.805e-05/0.1605, allocations: 112.1 kB / 438.4 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.1606, allocations: 31.69 kB / 438.4 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.1606, allocations: 0 / 438.4 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1607, allocations: 326.8 kB / 438.7 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.904e-05/0.1608, allocations: 23.92 kB / 438.8 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.639e-05/0.1608, allocations: 37.64 kB / 438.8 MB, free: 472 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.348e-05/0.1609, allocations: 24 kB / 438.8 MB, free: 448 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1609, allocations: 4 kB / 438.8 MB, free: 444 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002081/0.1611, allocations: 97.5 kB / 438.9 MB, free: 340 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.1612, allocations: 7.938 kB / 438.9 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1612, allocations: 7.953 kB / 438.9 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1612, allocations: 0 / 438.9 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.994e-05/0.1613, allocations: 15.98 kB / 439 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1613, allocations: 0 / 439 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.681e-05/0.1614, allocations: 8 kB / 439 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1614, allocations: 4 kB / 439 MB, free: 296 kB / 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.0001204/0.1615, allocations: 134.9 kB / 439.1 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.1616, allocations: 15.81 kB / 439.1 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.1616, allocations: 17.39 kB / 439.1 MB, free: 120 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1616, allocations: 7.953 kB / 439.1 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1617, allocations: 0 / 439.1 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1617, allocations: 0 / 439.1 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.1622, allocations: 399.2 kB / 439.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1622, allocations: 4 kB / 439.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.502e-05/0.1622, allocations: 19.92 kB / 439.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.1622, allocations: 0 / 439.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1623, allocations: 0 / 439.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1623, allocations: 0 / 439.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1623, allocations: 4.375 kB / 439.6 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.1626, allocations: 222.1 kB / 439.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.121e-05/0.1626, allocations: 93.02 kB / 439.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.1627, allocations: 0 / 439.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/0.1628, allocations: 8 kB / 439.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.1628, allocations: 11.98 kB / 439.9 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.1628, allocations: 4 kB / 439.9 MB, free: 15.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001871/0.163, allocations: 184.2 kB / 440.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.163, allocations: 0 / 440.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1633, allocations: 27.98 kB / 440.1 MB, free: 15.05 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.001084/0.1644, allocations: 472.8 kB / 440.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.1646, allocations: 55.91 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1646, allocations: 0 / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.464e-05/0.1647, allocations: 32.05 kB / 440.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.165, allocations: 28.11 kB / 440.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005082/0.1655, allocations: 286.6 kB / 441 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.1659, allocations: 0.7238 MB / 441.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.081e-05/0.1659, allocations: 13.19 kB / 441.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.166, allocations: 19.42 kB / 441.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.166, allocations: 0 / 441.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of Templates: time 0.005088/0.1711, allocations: 1.609 MB / 443.3 MB, free: 11.79 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) Environment - environmentSimulation: