Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001234/0.001234, allocations: 168.7 kB / 15.95 MB, free: 204 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.837/1.837, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.4342/0.4342, allocations: 40 MB / 310.4 MB, free: 9.652 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.0006094/0.0006096, allocations: 23.98 kB / 378.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1577, allocations: 57.95 MB / 436.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002248/0.16, allocations: 1.347 MB / 438.2 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.1613, allocations: 0.7227 MB / 438.9 MB, free: 172 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.736e-05/0.1613, allocations: 7.938 kB / 438.9 MB, free: 164 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.1617, allocations: 55.86 kB / 438.9 MB, free: 108 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.1619, allocations: 59.81 kB / 439 MB, free: 48 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.1622, allocations: 71.94 kB / 439.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.1624, allocations: 79.61 kB / 439.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.889e-05/0.1624, allocations: 11.97 kB / 439.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.726e-05/0.1625, allocations: 35.84 kB / 439.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.1627, allocations: 39.84 kB / 439.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1627, allocations: 3.938 kB / 439.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.183e-05/0.1628, allocations: 31.91 kB / 439.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.1628, allocations: 11.98 kB / 439.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.158e-05/0.1629, allocations: 41.64 kB / 439.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1631, allocations: 76.11 kB / 439.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1631, allocations: 4 kB / 439.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1631, allocations: 0 / 439.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.1631, allocations: 0 / 439.4 MB, free: 15.64 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006958/0.1638, allocations: 398.7 kB / 439.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.1639, allocations: 8.031 kB / 439.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.164, allocations: 7.906 kB / 439.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.1642, allocations: 202.9 kB / 440 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.1642, allocations: 4 kB / 440 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.1643, allocations: 3.984 kB / 440 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.1644, allocations: 45.69 kB / 440.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1645, allocations: 0 / 440.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1645, allocations: 0 / 440.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1645, allocations: 3.953 kB / 440.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.168e-05/0.1646, allocations: 19.92 kB / 440.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.1648, allocations: 177.7 kB / 440.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.165, allocations: 54.61 kB / 440.3 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.701e-05/0.165, allocations: 20.84 kB / 440.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.1651, allocations: 3.984 kB / 440.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.1653, allocations: 67.39 kB / 440.4 MB, free: 14.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.1653, allocations: 4 kB / 440.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002816/0.1656, allocations: 93.52 kB / 440.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.1657, allocations: 55.36 kB / 440.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.1658, allocations: 182.2 kB / 440.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1659, allocations: 29.7 kB / 440.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.1659, allocations: 96.14 kB / 440.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.166, allocations: 15.8 kB / 440.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.166, allocations: 0 / 440.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1661, allocations: 326.8 kB / 441.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.415e-05/0.1662, allocations: 12 kB / 441.2 MB, free: 13.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.894e-05/0.1662, allocations: 33.7 kB / 441.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.936e-05/0.1663, allocations: 16.19 kB / 441.2 MB, free: 13.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1663, allocations: 3.938 kB / 441.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001428/0.1664, allocations: 77.59 kB / 441.3 MB, free: 13.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1665, allocations: 4 kB / 441.3 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.1665, allocations: 12.02 kB / 441.3 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1665, allocations: 0 / 441.3 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.187e-05/0.1666, allocations: 11.94 kB / 441.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1666, allocations: 7.891 kB / 441.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.1667, allocations: 11.91 kB / 441.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.1667, allocations: 4 kB / 441.4 MB, free: 13.44 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 ($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 (7): * Single equations (assignments): 7 * 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.0001253/0.1668, allocations: 125.6 kB / 441.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.1668, allocations: 7.906 kB / 441.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/0.1669, allocations: 16.45 kB / 441.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1669, allocations: 4 kB / 441.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1669, allocations: 0 / 441.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1669, allocations: 3.953 kB / 441.5 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.1671, allocations: 189.6 kB / 441.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1671, allocations: 0 / 441.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.1671, allocations: 4 kB / 441.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1671, allocations: 0 / 441.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1671, allocations: 0 / 441.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1671, allocations: 4 kB / 441.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1671, allocations: 3.984 kB / 441.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.1673, allocations: 116.9 kB / 441.8 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.1674, allocations: 88.91 kB / 441.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.1674, allocations: 4 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.207e-05/0.1675, allocations: 0 / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.1675, allocations: 7.984 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.1675, allocations: 4 kB / 441.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1677, allocations: 140.1 kB / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1677, allocations: 4 kB / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.1679, allocations: 19.98 kB / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.000917/0.1688, allocations: 413.9 kB / 442.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.169, allocations: 35.92 kB / 442.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.169, allocations: 0 / 442.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.088e-05/0.1691, allocations: 19.98 kB / 442.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.1694, allocations: 31.8 kB / 442.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.1698, allocations: 209.2 kB / 442.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.1703, allocations: 0.7004 MB / 443.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.722e-05/0.1704, allocations: 16.8 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.1704, allocations: 15.42 kB / 443.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1704, allocations: 0 / 443.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of Templates: time 0.004568/0.175, allocations: 1.378 MB / 444.9 MB, free: 9.785 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) Environment - environmentSimulation: