Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001834/0.001834, allocations: 186.6 kB / 16.25 MB, free: 6.621 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.84/1.84, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.3731/0.3731, allocations: 39.92 MB / 309.4 MB, free: 9.004 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.00162/0.00162, allocations: 71.91 kB / 377.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1585, allocations: 56.88 MB / 434 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.004/0.1625, allocations: 1.899 MB / 435.9 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.1648, allocations: 0.8741 MB / 436.8 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.165, allocations: 4 kB / 436.8 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005763/0.1656, allocations: 155.6 kB / 436.9 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004051/0.1661, allocations: 123.7 kB / 437 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.1666, allocations: 139.7 kB / 437.2 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.167, allocations: 211.4 kB / 437.4 MB, free: 324 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.1671, allocations: 29.52 kB / 437.4 MB, free: 292 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.1673, allocations: 99.61 kB / 437.5 MB, free: 192 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.1675, allocations: 131.6 kB / 437.6 MB, free: 60 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.1676, allocations: 8 kB / 437.7 MB, free: 52 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.1677, allocations: 47.92 kB / 437.7 MB, free: 4 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.1679, allocations: 51.81 kB / 437.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.168, allocations: 67.5 kB / 437.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.1684, allocations: 199.6 kB / 438 MB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1684, allocations: 0 / 438 MB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1684, allocations: 0 / 438 MB, free: 15.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1684, allocations: 0 / 438 MB, free: 15.69 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000897/0.1693, allocations: 0.5211 MB / 438.5 MB, free: 15.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.245e-05/0.1694, allocations: 15.83 kB / 438.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.764e-05/0.1695, allocations: 28.66 kB / 438.6 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.1699, allocations: 263.6 kB / 438.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.1699, allocations: 8.375 kB / 438.8 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.17, allocations: 8.125 kB / 438.8 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.1703, allocations: 95.3 kB / 438.9 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1703, allocations: 4 kB / 438.9 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.1703, allocations: 4 kB / 438.9 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.1703, allocations: 0 / 438.9 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.1705, allocations: 39.97 kB / 439 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006497/0.1712, allocations: 444.8 kB / 439.4 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.1715, allocations: 125.2 kB / 439.5 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.1717, allocations: 41.7 kB / 439.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.1717, allocations: 0 / 439.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003164/0.172, allocations: 117.1 kB / 439.7 MB, free: 13.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.1721, allocations: 0 / 439.7 MB, free: 13.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001162/0.1732, allocations: 352.1 kB / 440 MB, free: 13.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.59e-05/0.1733, allocations: 85.05 kB / 440.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004889/0.1738, allocations: 362.9 kB / 440.5 MB, free: 12.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.1739, allocations: 29.7 kB / 440.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.174, allocations: 136.4 kB / 440.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.762e-05/0.1741, allocations: 51.34 kB / 440.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/0.1742, allocations: 41.64 kB / 440.7 MB, free: 12.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1743, allocations: 334.8 kB / 441.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1745, allocations: 43.97 kB / 441.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.1746, allocations: 75.41 kB / 441.2 MB, free: 12.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.1749, allocations: 111.4 kB / 441.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1749, allocations: 4 kB / 441.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004101/0.1754, allocations: 177.3 kB / 441.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.1754, allocations: 12.06 kB / 441.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1754, allocations: 0 / 441.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1754, allocations: 4 kB / 441.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.1756, allocations: 31.92 kB / 441.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.1757, allocations: 3.938 kB / 441.5 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.1758, allocations: 8 kB / 441.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.1758, allocations: 8 kB / 441.5 MB, free: 11.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002055/0.176, allocations: 153.8 kB / 441.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.1761, allocations: 27.66 kB / 441.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.648e-05/0.1762, allocations: 37.73 kB / 441.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1762, allocations: 0 / 441.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.1762, allocations: 7.875 kB / 441.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1762, allocations: 4 kB / 441.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.1773, allocations: 0.6173 MB / 442.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.1773, allocations: 8.062 kB / 442.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.607e-05/0.1774, allocations: 15.94 kB / 442.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.1774, allocations: 4 kB / 442.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.1774, allocations: 11.98 kB / 442.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1774, allocations: 0 / 442.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1774, allocations: 0 / 442.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005591/0.178, allocations: 372.1 kB / 442.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.1781, allocations: 100.8 kB / 442.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.1782, allocations: 0 / 442.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.1783, allocations: 11.98 kB / 442.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.1784, allocations: 11.98 kB / 442.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.1785, allocations: 12 kB / 442.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003112/0.1788, allocations: 261.9 kB / 443.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1788, allocations: 4 kB / 443.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004652/0.1793, allocations: 40 kB / 443.2 MB, free: 10.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001442/0.1807, allocations: 469.2 kB / 443.7 MB, free: 9.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003993/0.1811, allocations: 123.9 kB / 443.8 MB, free: 9.539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1812, allocations: 0 / 443.8 MB, free: 9.539 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.1813, allocations: 59.86 kB / 443.8 MB, free: 9.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000739/0.1821, allocations: 64.64 kB / 443.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.1831, allocations: 498.4 kB / 444.4 MB, free: 8.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.1836, allocations: 0.7515 MB / 445.1 MB, free: 8.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.1838, allocations: 38.53 kB / 445.2 MB, free: 8.082 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.1839, allocations: 23.44 kB / 445.2 MB, free: 8.059 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1839, allocations: 0 / 445.2 MB, free: 8.059 MB / 382.1 MB Notification: Performance of Templates: time 0.00843/0.1923, allocations: 2.64 MB / 447.8 MB, free: 5.422 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1)