Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001152, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001315/0.001315, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.547/1.547, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.385/0.385, allocations: 39.92 MB / 309.4 MB, free: 9.66 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.0014/0.0014, allocations: 67.89 kB / 377.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.166, allocations: 56.88 MB / 434 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.004092/0.1702, allocations: 1.829 MB / 435.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.1725, allocations: 1.457 MB / 437.3 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.934e-05/0.1727, allocations: 0 / 437.3 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004736/0.1731, allocations: 43.83 kB / 437.3 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.1735, allocations: 75.67 kB / 437.4 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.1738, allocations: 139.7 kB / 437.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.1741, allocations: 175.5 kB / 437.7 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.443e-05/0.1742, allocations: 21.53 kB / 437.7 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1743, allocations: 87.5 kB / 437.8 MB, free: 464 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.1745, allocations: 67.69 kB / 437.9 MB, free: 396 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.1746, allocations: 8 kB / 437.9 MB, free: 388 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.1747, allocations: 63.97 kB / 438 MB, free: 324 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.603e-05/0.1748, allocations: 31.84 kB / 438 MB, free: 292 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.175, allocations: 67.59 kB / 438.1 MB, free: 224 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.1753, allocations: 167.8 kB / 438.2 MB, free: 56 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1753, allocations: 0 / 438.2 MB, free: 56 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1753, allocations: 4 kB / 438.2 MB, free: 52 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.1753, allocations: 0 / 438.2 MB, free: 52 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000888/0.1762, allocations: 470.5 kB / 438.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.1763, allocations: 11.89 kB / 438.7 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.703e-05/0.1764, allocations: 16.75 kB / 438.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.1767, allocations: 243.7 kB / 438.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.1767, allocations: 8.375 kB / 439 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.1767, allocations: 8.125 kB / 439 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.177, allocations: 105 kB / 439.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.177, allocations: 0 / 439.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.1771, allocations: 3.938 kB / 439.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1771, allocations: 4 kB / 439.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.1772, allocations: 31.97 kB / 439.1 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.1775, allocations: 214.5 kB / 439.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.1778, allocations: 101.2 kB / 439.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1779, allocations: 41.64 kB / 439.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.178, allocations: 8 kB / 439.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.1782, allocations: 112.9 kB / 439.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1782, allocations: 0 / 439.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000441/0.1787, allocations: 165.4 kB / 439.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/0.1788, allocations: 128.5 kB / 439.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.179, allocations: 219.8 kB / 440.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.179, allocations: 25.7 kB / 440.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.155e-05/0.1791, allocations: 120 kB / 440.2 MB, free: 13.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.1792, allocations: 31.64 kB / 440.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-05/0.1793, allocations: 21.72 kB / 440.3 MB, free: 13.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.1795, allocations: 330.8 kB / 440.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.177e-05/0.1796, allocations: 27.98 kB / 440.6 MB, free: 13.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.1798, allocations: 69.14 kB / 440.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.18, allocations: 91.34 kB / 440.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.18, allocations: 0.5 kB / 440.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002623/0.1802, allocations: 145.3 kB / 440.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1803, allocations: 8 kB / 440.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1803, allocations: 0 / 440.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1803, allocations: 0 / 440.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1804, allocations: 27.98 kB / 441 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1804, allocations: 0 / 441 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.686e-05/0.1805, allocations: 11.89 kB / 441 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1805, allocations: 4 kB / 441 MB, free: 12.99 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001303/0.1807, allocations: 141.8 kB / 441.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.1807, allocations: 23.78 kB / 441.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.499e-05/0.1808, allocations: 21 kB / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1808, allocations: 0 / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.1808, allocations: 0 / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1808, allocations: 0 / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.181, allocations: 225.4 kB / 441.4 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.181, allocations: 3.938 kB / 441.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.719e-05/0.1811, allocations: 8 kB / 441.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1811, allocations: 0 / 441.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1811, allocations: 8 kB / 441.4 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1811, allocations: 3.984 kB / 441.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1811, allocations: 0 / 441.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.1814, allocations: 173.6 kB / 441.6 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/0.1815, allocations: 88.92 kB / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.1815, allocations: 0 / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.364e-05/0.1816, allocations: 11.98 kB / 441.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.1817, allocations: 15.92 kB / 441.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.1817, allocations: 4 kB / 441.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001726/0.1819, allocations: 161.5 kB / 441.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1819, allocations: 3.938 kB / 441.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.1821, allocations: 39.98 kB / 441.9 MB, free: 11.98 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001055/0.1832, allocations: 449.5 kB / 442.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.1835, allocations: 91.89 kB / 442.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1835, allocations: 0 / 442.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1836, allocations: 40.3 kB / 442.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.184, allocations: 63.81 kB / 442.5 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005224/0.1845, allocations: 291.9 kB / 442.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.1849, allocations: 0.7202 MB / 443.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.524e-05/0.185, allocations: 33.45 kB / 443.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/0.185, allocations: 23.42 kB / 443.6 MB, free: 10.26 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.185, allocations: 4 kB / 443.6 MB, free: 10.26 MB / 382.1 MB Notification: Performance of Templates: time 0.008751/0.1938, allocations: 2.594 MB / 446.2 MB, free: 7.668 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1)