Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006424/0.006423, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001099/0.001099, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.625/1.625, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2135/0.2135, allocations: 37.99 MB / 307.9 MB, free: 5.988 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.001583/0.001583, allocations: 67.91 kB / 433 MB, free: 14.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1482, allocations: 56.47 MB / 489.5 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003533/0.1518, allocations: 1.633 MB / 491.1 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1534, allocations: 0.7934 MB / 491.9 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.402e-05/0.1535, allocations: 0 / 491.9 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003983/0.1539, allocations: 51.75 kB / 492 MB, free: 3.336 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.1542, allocations: 59.75 kB / 492 MB, free: 3.277 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.1544, allocations: 79.77 kB / 492.1 MB, free: 3.199 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.1546, allocations: 87.75 kB / 492.2 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.128e-05/0.1547, allocations: 11.92 kB / 492.2 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.867e-05/0.1548, allocations: 39.84 kB / 492.3 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.722e-05/0.1549, allocations: 23.86 kB / 492.3 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.155, allocations: 4 kB / 492.3 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.13e-05/0.1551, allocations: 35.92 kB / 492.3 MB, free: 3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.207e-05/0.1551, allocations: 35.84 kB / 492.4 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.665e-05/0.1552, allocations: 39.73 kB / 492.4 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.1554, allocations: 107.6 kB / 492.5 MB, free: 2.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.1554, allocations: 4 kB / 492.5 MB, free: 2.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1554, allocations: 4 kB / 492.5 MB, free: 2.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.1555, allocations: 0 / 492.5 MB, free: 2.812 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.0006751/0.1561, allocations: 426.8 kB / 492.9 MB, free: 2.348 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1562, allocations: 11.89 kB / 492.9 MB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.549e-05/0.1563, allocations: 20.69 kB / 493 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.1566, allocations: 223.7 kB / 493.2 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1566, allocations: 4.375 kB / 493.2 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.1566, allocations: 4.125 kB / 493.2 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1568, allocations: 45.67 kB / 493.2 MB, free: 2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1568, allocations: 7.984 kB / 493.2 MB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1568, allocations: 7.938 kB / 493.2 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1568, allocations: 0 / 493.2 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.295e-05/0.1569, allocations: 8 kB / 493.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.1572, allocations: 193.7 kB / 493.4 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.1574, allocations: 54.55 kB / 493.5 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.76e-05/0.1574, allocations: 20.8 kB / 493.5 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.1575, allocations: 8 kB / 493.5 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.1576, allocations: 63.39 kB / 493.6 MB, free: 1.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.1576, allocations: 0 / 493.6 MB, free: 1.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002952/0.1579, allocations: 101.4 kB / 493.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.158, allocations: 55.39 kB / 493.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.1582, allocations: 254.6 kB / 494 MB, free: 1.137 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1582, allocations: 33.69 kB / 494 MB, free: 1.098 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.1583, allocations: 108.1 kB / 494.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.1584, allocations: 15.83 kB / 494.1 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.1584, allocations: 21.72 kB / 494.2 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1585, allocations: 326.8 kB / 494.5 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.967e-05/0.1586, allocations: 15.98 kB / 494.5 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.386e-05/0.1586, allocations: 25.7 kB / 494.5 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1587, allocations: 49.91 kB / 494.6 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1588, allocations: 0 / 494.6 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001431/0.1589, allocations: 93.42 kB / 494.7 MB, free: 428 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1589, allocations: 4 kB / 494.7 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1589, allocations: 0 / 494.7 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.159, allocations: 0 / 494.7 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.341e-05/0.159, allocations: 15.94 kB / 494.7 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1591, allocations: 160 / 494.7 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.1591, allocations: 4 kB / 494.7 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1591, allocations: 11.92 kB / 494.7 MB, free: 392 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.00012/0.1592, allocations: 145.6 kB / 494.8 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.1593, allocations: 15.84 kB / 494.9 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.563e-05/0.1593, allocations: 17 kB / 494.9 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1593, allocations: 0 / 494.9 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1593, allocations: 0 / 494.9 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1593, allocations: 0 / 494.9 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.1595, allocations: 201.6 kB / 495.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1595, allocations: 0 / 495.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.1596, allocations: 0 / 495.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1596, allocations: 7.984 kB / 495.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1596, allocations: 0 / 495.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1596, allocations: 0 / 495.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1596, allocations: 4 kB / 495.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.1598, allocations: 124.7 kB / 495.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.1598, allocations: 85.05 kB / 495.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.1599, allocations: 8 kB / 495.3 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.334e-05/0.1599, allocations: 0 / 495.3 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.16, allocations: 7.984 kB / 495.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.16, allocations: 0 / 495.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.1601, allocations: 199.2 kB / 495.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1602, allocations: 0 / 495.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002085/0.1604, allocations: 20 kB / 495.5 MB, free: 15.46 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.0009679/0.1613, allocations: 415.6 kB / 495.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.1615, allocations: 47.84 kB / 496 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1615, allocations: 0 / 496 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.993e-05/0.1616, allocations: 20.12 kB / 496 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.1619, allocations: 43.81 kB / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.1624, allocations: 258.7 kB / 496.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.1627, allocations: 0.708 MB / 497 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.102e-05/0.1628, allocations: 16.48 kB / 497 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.1628, allocations: 11.44 kB / 497 MB, free: 13.94 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1629, allocations: 4 kB / 497 MB, free: 13.93 MB / 382.1 MB Notification: Performance of Templates: time 0.00489/0.1677, allocations: 1.505 MB / 498.5 MB, free: 12.43 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1)