Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007695/0.0007697, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005066/0.005066, allocations: 169.8 kB / 16.26 MB, free: 6.676 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.39/1.39, allocations: 205.4 MB / 222.5 MB, free: 5.797 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.3451/0.3451, allocations: 38.03 MB / 308.8 MB, free: 10.22 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.0005926/0.0005926, allocations: 20 kB / 377.1 MB, free: 14.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1555, allocations: 57.52 MB / 434.6 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002312/0.1579, allocations: 1.358 MB / 435.9 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1593, allocations: 0.7611 MB / 436.7 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.1594, allocations: 3.938 kB / 436.7 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.1598, allocations: 55.86 kB / 436.8 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.16, allocations: 59.81 kB / 436.8 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.1602, allocations: 75.84 kB / 436.9 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.1604, allocations: 91.69 kB / 437 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.606e-05/0.1605, allocations: 11.98 kB / 437 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.666e-05/0.1606, allocations: 43.83 kB / 437 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1607, allocations: 35.84 kB / 437.1 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.1607, allocations: 3.938 kB / 437.1 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.156e-05/0.1608, allocations: 31.98 kB / 437.1 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.07e-05/0.1609, allocations: 15.92 kB / 437.1 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.16e-05/0.161, allocations: 61.44 kB / 437.2 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.1612, allocations: 91.97 kB / 437.3 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1612, allocations: 0 / 437.3 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1612, allocations: 4 kB / 437.3 MB, free: 2.465 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1612, allocations: 3.938 kB / 437.3 MB, free: 2.461 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005803/0.1618, allocations: 383.2 kB / 437.6 MB, free: 2.039 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1619, allocations: 15.97 kB / 437.7 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.1619, allocations: 12.84 kB / 437.7 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.1621, allocations: 208 kB / 437.9 MB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.1622, allocations: 384 / 437.9 MB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.1622, allocations: 8.125 kB / 437.9 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1623, allocations: 45.67 kB / 437.9 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1624, allocations: 0 / 437.9 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1624, allocations: 7.984 kB / 437.9 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1624, allocations: 0 / 437.9 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.885e-05/0.1625, allocations: 12 kB / 438 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.1627, allocations: 185.6 kB / 438.1 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1628, allocations: 54.55 kB / 438.2 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.1629, allocations: 24.78 kB / 438.2 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.1629, allocations: 0 / 438.2 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.1631, allocations: 71.39 kB / 438.3 MB, free: 1.289 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.1632, allocations: 0 / 438.3 MB, free: 1.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002655/0.1634, allocations: 93.52 kB / 438.4 MB, free: 1.191 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.1635, allocations: 51.41 kB / 438.4 MB, free: 1.129 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.1637, allocations: 186.2 kB / 438.6 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1637, allocations: 25.7 kB / 438.6 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.1637, allocations: 100.1 kB / 438.7 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.1638, allocations: 23.78 kB / 438.7 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.1638, allocations: 9.719 kB / 438.8 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.164, allocations: 326.8 kB / 439.1 MB, free: 448 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.728e-05/0.164, allocations: 12 kB / 439.1 MB, free: 436 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.976e-05/0.1641, allocations: 29.7 kB / 439.1 MB, free: 400 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.898e-05/0.1642, allocations: 49.64 kB / 439.2 MB, free: 344 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1642, allocations: 0 / 439.2 MB, free: 344 kB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001591/0.1644, allocations: 81.53 kB / 439.2 MB, free: 256 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1644, allocations: 4 kB / 439.3 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1644, allocations: 4 kB / 439.3 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1645, allocations: 0 / 439.3 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.006e-05/0.1645, allocations: 15.92 kB / 439.3 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1646, allocations: 0 / 439.3 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.1646, allocations: 4.312 kB / 439.3 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1646, allocations: 4 kB / 439.3 MB, free: 224 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 ($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 (7): * Single equations (assignments): 7 * 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.0001147/0.1647, allocations: 129.8 kB / 439.4 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.1648, allocations: 11.94 kB / 439.4 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.903e-05/0.1648, allocations: 12.31 kB / 439.4 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1648, allocations: 0 / 439.4 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1648, allocations: 0 / 439.4 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1648, allocations: 0 / 439.4 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.165, allocations: 201.3 kB / 439.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.165, allocations: 0 / 439.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.006e-05/0.1651, allocations: 4 kB / 439.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1651, allocations: 0 / 439.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1651, allocations: 0 / 439.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.1651, allocations: 4 kB / 439.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1651, allocations: 7.938 kB / 439.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.1653, allocations: 109 kB / 439.7 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.1654, allocations: 85 kB / 439.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.1654, allocations: 8 kB / 439.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.331e-05/0.1654, allocations: 0 / 439.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.1655, allocations: 4 kB / 439.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1655, allocations: 3.984 kB / 439.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.1656, allocations: 148.1 kB / 440 MB, free: 15.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1656, allocations: 3.938 kB / 440 MB, free: 15.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.1659, allocations: 20 kB / 440 MB, free: 15.39 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 (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.0009154/0.1668, allocations: 413.6 kB / 440.4 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.1669, allocations: 47.91 kB / 440.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1669, allocations: 0 / 440.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.604e-05/0.167, allocations: 19.98 kB / 440.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.1673, allocations: 35.95 kB / 440.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.1677, allocations: 217.1 kB / 440.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.168, allocations: 0.7082 MB / 441.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.705e-05/0.1681, allocations: 16.41 kB / 441.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.1681, allocations: 11.44 kB / 441.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1681, allocations: 0 / 441.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of Templates: time 0.003905/0.172, allocations: 1.397 MB / 442.9 MB, free: 12.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) Environment - environmentSimulation: