Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008445/0.0008445, allocations: 86.72 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.0009485/0.0009486, 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.844/1.844, 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.4493/0.4493, allocations: 40 MB / 310.4 MB, free: 9.977 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.0006899/0.0006904, allocations: 16 kB / 378.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1478, allocations: 57.96 MB / 436.8 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002429/0.1503, allocations: 1.382 MB / 438.2 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.1521, allocations: 0.7499 MB / 438.9 MB, free: 412 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.1523, allocations: 4 kB / 438.9 MB, free: 408 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004572/0.1528, allocations: 35.88 kB / 439 MB, free: 372 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.1531, allocations: 51.77 kB / 439 MB, free: 320 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.1535, allocations: 71.91 kB / 439.1 MB, free: 248 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.1537, allocations: 83.7 kB / 439.2 MB, free: 164 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1538, allocations: 12.2 kB / 439.2 MB, free: 152 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.154, allocations: 39.78 kB / 439.2 MB, free: 112 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.673e-05/0.154, allocations: 27.86 kB / 439.3 MB, free: 84 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1541, allocations: 4 kB / 439.3 MB, free: 80 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.1542, allocations: 35.97 kB / 439.3 MB, free: 44 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.301e-05/0.1543, allocations: 19.92 kB / 439.3 MB, free: 24 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.1544, allocations: 41.64 kB / 439.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.1546, allocations: 88.09 kB / 439.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.1546, allocations: 0 / 439.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1546, allocations: 3.938 kB / 439.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1546, allocations: 0 / 439.4 MB, free: 15.89 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006458/0.1553, allocations: 410.8 kB / 439.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1553, allocations: 8.031 kB / 439.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.1554, allocations: 7.906 kB / 439.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.1557, allocations: 203.6 kB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.1557, allocations: 8 kB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.1557, allocations: 4 kB / 440.1 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1559, allocations: 49.67 kB / 440.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1559, allocations: 3.906 kB / 440.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1559, allocations: 4 kB / 440.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.156, allocations: 7.953 kB / 440.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.139e-05/0.156, allocations: 19.92 kB / 440.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.1565, allocations: 284.9 kB / 440.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.1567, allocations: 54.67 kB / 440.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.1567, allocations: 28.8 kB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.1568, allocations: 0 / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.157, allocations: 71.28 kB / 440.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.157, allocations: 4 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005802/0.1576, allocations: 173.1 kB / 440.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.1577, allocations: 55.41 kB / 440.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.1579, allocations: 195.3 kB / 441 MB, free: 14.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1579, allocations: 29.7 kB / 441 MB, free: 14.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.158, allocations: 100.1 kB / 441.1 MB, free: 14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.158, allocations: 23.7 kB / 441.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.158, allocations: 4 kB / 441.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1582, allocations: 326.8 kB / 441.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.624e-05/0.1582, allocations: 20 kB / 441.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.113e-05/0.1583, allocations: 33.7 kB / 441.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.843e-05/0.1584, allocations: 23.98 kB / 441.6 MB, free: 13.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1584, allocations: 0 / 441.6 MB, free: 13.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000195/0.1586, allocations: 109.4 kB / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1586, allocations: 8.031 kB / 441.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.1586, allocations: 0 / 441.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1586, allocations: 0 / 441.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.671e-05/0.1587, allocations: 23.98 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1588, allocations: 0 / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.295e-05/0.1588, allocations: 4.375 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1588, allocations: 3.938 kB / 441.7 MB, free: 13.41 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 (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.0001125/0.159, allocations: 137.6 kB / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.159, allocations: 11.86 kB / 441.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.781e-05/0.159, allocations: 25.39 kB / 441.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.1591, allocations: 4 kB / 441.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.1591, allocations: 0 / 441.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1591, allocations: 0 / 441.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.1595, allocations: 399.2 kB / 442.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1595, allocations: 0 / 442.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.1596, allocations: 8 kB / 442.3 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1596, allocations: 0 / 442.3 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1596, allocations: 8.016 kB / 442.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1597, allocations: 4 kB / 442.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1598, allocations: 432 / 442.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.16, allocations: 204.2 kB / 442.5 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.708e-05/0.1601, allocations: 92.91 kB / 442.6 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.1601, allocations: 0 / 442.6 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.1602, allocations: 15.98 kB / 442.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.1602, allocations: 4 kB / 442.6 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.1603, allocations: 11.92 kB / 442.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.1604, allocations: 152.9 kB / 442.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1604, allocations: 0 / 442.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1607, allocations: 31.89 kB / 442.8 MB, free: 12.21 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.001045/0.1618, allocations: 457 kB / 443.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.162, allocations: 59.91 kB / 443.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.162, allocations: 0 / 443.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.241e-05/0.1621, allocations: 27.94 kB / 443.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.1624, allocations: 27.97 kB / 443.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005248/0.163, allocations: 246.4 kB / 443.6 MB, free: 11.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1633, allocations: 0.7121 MB / 444.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.631e-05/0.1634, allocations: 13.19 kB / 444.3 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.1634, allocations: 23.42 kB / 444.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1634, allocations: 0 / 444.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of Templates: time 0.005497/0.1689, allocations: 1.595 MB / 445.9 MB, free: 9.035 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) Environment - environmentSimulation: