Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.723/1.723, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.3995/0.3995, allocations: 39.93 MB / 309.7 MB, free: 9.246 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.001579/0.001579, allocations: 78.39 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1674, allocations: 56.88 MB / 434.5 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003679/0.1712, allocations: 1.689 MB / 436.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1726, allocations: 0.8016 MB / 437 MB, free: 1.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.423e-05/0.1727, allocations: 3.938 kB / 437 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003746/0.1731, allocations: 83.75 kB / 437.1 MB, free: 1.07 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.0002695/0.1734, allocations: 83.64 kB / 437.2 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.1737, allocations: 79.77 kB / 437.2 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.1739, allocations: 107.7 kB / 437.3 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.1741, allocations: 24.2 kB / 437.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1742, allocations: 47.78 kB / 437.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1743, allocations: 59.81 kB / 437.5 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1743, allocations: 4 kB / 437.5 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1745, allocations: 51.91 kB / 437.5 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.1745, allocations: 19.92 kB / 437.5 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.099e-05/0.1746, allocations: 35.69 kB / 437.6 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.1749, allocations: 119.8 kB / 437.7 MB, free: 460 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1749, allocations: 0 / 437.7 MB, free: 460 kB / 366.1 MB Notification: Performance of FrontEnd: time 3.586e-06/0.1749, allocations: 7.984 kB / 437.7 MB, free: 452 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1749, allocations: 0 / 437.7 MB, free: 452 kB / 366.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.0007643/0.1757, allocations: 430.8 kB / 438.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.1757, allocations: 15.89 kB / 438.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.912e-05/0.1758, allocations: 8.844 kB / 438.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1761, allocations: 215.9 kB / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.1761, allocations: 4.375 kB / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.1761, allocations: 4.125 kB / 438.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1763, allocations: 57.67 kB / 438.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1763, allocations: 0 / 438.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1763, allocations: 0 / 438.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.1763, allocations: 4 kB / 438.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.158e-05/0.1764, allocations: 19.98 kB / 438.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.1768, allocations: 292.8 kB / 438.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.177, allocations: 62.67 kB / 438.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.1771, allocations: 16.86 kB / 438.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.1771, allocations: 0 / 438.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.1773, allocations: 75.38 kB / 438.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1773, allocations: 0 / 438.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006295/0.178, allocations: 173.1 kB / 439.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.178, allocations: 59.41 kB / 439.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.1783, allocations: 219.5 kB / 439.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.1783, allocations: 29.64 kB / 439.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.928e-05/0.1784, allocations: 112.1 kB / 439.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.1784, allocations: 27.64 kB / 439.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.1785, allocations: 17.72 kB / 439.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1786, allocations: 326.8 kB / 439.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.617e-05/0.1787, allocations: 23.98 kB / 439.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.508e-05/0.1788, allocations: 37.7 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.1789, allocations: 57.72 kB / 439.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1789, allocations: 384 / 439.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001743/0.1791, allocations: 101.4 kB / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1791, allocations: 8 kB / 440.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1791, allocations: 0 / 440.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1791, allocations: 4.219 kB / 440.1 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1793, allocations: 23.92 kB / 440.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1793, allocations: 11.88 kB / 440.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.1793, allocations: 7.938 kB / 440.1 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1793, allocations: 4 kB / 440.1 MB, free: 13.8 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 ($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 (10): * Single equations (assignments): 10 * 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.0001129/0.1795, allocations: 129.8 kB / 440.2 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.1795, allocations: 15.91 kB / 440.2 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.1795, allocations: 13.41 kB / 440.3 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1795, allocations: 3.984 kB / 440.3 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1796, allocations: 4 kB / 440.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1796, allocations: 3.938 kB / 440.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.18, allocations: 399.2 kB / 440.7 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.18, allocations: 0 / 440.7 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.1801, allocations: 8 kB / 440.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1801, allocations: 0 / 440.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1801, allocations: 7.922 kB / 440.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1801, allocations: 4 kB / 440.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1801, allocations: 4.031 kB / 440.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1803, allocations: 204.2 kB / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.1804, allocations: 88.92 kB / 441 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.1804, allocations: 3.938 kB / 441 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.1805, allocations: 11.98 kB / 441 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.1806, allocations: 4 kB / 441 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.1806, allocations: 8 kB / 441 MB, free: 12.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.1807, allocations: 171.5 kB / 441.2 MB, free: 12.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1807, allocations: 0 / 441.2 MB, free: 12.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.181, allocations: 20 kB / 441.2 MB, free: 12.61 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 (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.001182/0.1822, allocations: 471.1 kB / 441.6 MB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.1824, allocations: 67.84 kB / 441.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1824, allocations: 0 / 441.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.276e-05/0.1825, allocations: 31.92 kB / 441.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.1828, allocations: 35.11 kB / 441.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004834/0.1833, allocations: 255 kB / 442 MB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.1836, allocations: 0.7119 MB / 442.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.399e-05/0.1837, allocations: 17.19 kB / 442.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.1837, allocations: 19.44 kB / 442.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1837, allocations: 0 / 442.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of Templates: time 0.004933/0.1886, allocations: 1.712 MB / 444.5 MB, free: 9.281 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1)