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.001095/0.001095, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001265/0.001266, allocations: 190.8 kB / 16.14 MB, free: 6.703 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.579/1.579, allocations: 205.1 MB / 222 MB, free: 5.008 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.3899/0.3899, allocations: 39.94 MB / 309.3 MB, free: 9.539 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.001372/0.001372, allocations: 71.89 kB / 376.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1639, allocations: 56.89 MB / 433.8 MB, free: 4.465 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003717/0.1677, allocations: 1.755 MB / 435.6 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1689, allocations: 0.7923 MB / 436.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.882e-05/0.169, allocations: 0 / 436.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.1693, allocations: 35.91 kB / 436.4 MB, free: 1.859 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.1695, allocations: 47.77 kB / 436.4 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.1697, allocations: 95.7 kB / 436.5 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.1699, allocations: 87.75 kB / 436.6 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.831e-05/0.17, allocations: 12.22 kB / 436.6 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.115e-05/0.1701, allocations: 47.72 kB / 436.7 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.951e-05/0.1702, allocations: 27.86 kB / 436.7 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.1702, allocations: 4 kB / 436.7 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.038e-05/0.1703, allocations: 39.97 kB / 436.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.1703, allocations: 19.92 kB / 436.8 MB, free: 1.484 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.1704, allocations: 27.75 kB / 436.8 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.1706, allocations: 115.9 kB / 436.9 MB, free: 1.344 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1706, allocations: 3.938 kB / 436.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1706, allocations: 0 / 436.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1706, allocations: 0 / 436.9 MB, free: 1.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006331/0.1713, allocations: 418.9 kB / 437.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.1713, allocations: 12.03 kB / 437.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.1714, allocations: 8.844 kB / 437.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.1717, allocations: 216.7 kB / 437.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1717, allocations: 384 / 437.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.1717, allocations: 8.125 kB / 437.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.1719, allocations: 53.67 kB / 437.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1719, allocations: 3.938 kB / 437.6 MB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1719, allocations: 4 kB / 437.6 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.1719, allocations: 4 kB / 437.6 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.987e-05/0.172, allocations: 19.98 kB / 437.6 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.1724, allocations: 288.9 kB / 437.9 MB, free: 188 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1726, allocations: 50.69 kB / 438 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.49e-05/0.1727, allocations: 28.78 kB / 438 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.1727, allocations: 4 kB / 438 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.1729, allocations: 63.39 kB / 438.1 MB, free: 16 kB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.1729, allocations: 0 / 438.1 MB, free: 16 kB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000583/0.1735, allocations: 181.1 kB / 438.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.1736, allocations: 55.41 kB / 438.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.1737, allocations: 195.3 kB / 438.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1738, allocations: 29.7 kB / 438.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.1738, allocations: 104.1 kB / 438.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.1739, allocations: 23.66 kB / 438.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.174, allocations: 21.7 kB / 438.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1742, allocations: 330.8 kB / 439 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.625e-05/0.1742, allocations: 16 kB / 439 MB, free: 15.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-05/0.1743, allocations: 41.64 kB / 439 MB, free: 14.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.1744, allocations: 65.64 kB / 439.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1744, allocations: 0 / 439.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001819/0.1746, allocations: 101.4 kB / 439.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1746, allocations: 8 kB / 439.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1746, allocations: 3.984 kB / 439.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1747, allocations: 0 / 439.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1748, allocations: 16 kB / 439.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1748, allocations: 8.031 kB / 439.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.025e-05/0.1748, allocations: 7.922 kB / 439.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1749, allocations: 4 kB / 439.3 MB, free: 14.76 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.0001322/0.175, allocations: 125.8 kB / 439.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.175, allocations: 11.91 kB / 439.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.276e-05/0.1751, allocations: 21.33 kB / 439.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1751, allocations: 0 / 439.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.1751, allocations: 0 / 439.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.1751, allocations: 3.938 kB / 439.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.1757, allocations: 399.2 kB / 439.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1757, allocations: 384 / 439.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.1757, allocations: 11.98 kB / 439.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1757, allocations: 8 kB / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.1758, allocations: 3.938 kB / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1758, allocations: 0 / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1758, allocations: 0 / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.176, allocations: 204.3 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.1761, allocations: 88.92 kB / 440.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.1761, allocations: 11.92 kB / 440.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.778e-05/0.1762, allocations: 4 kB / 440.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.1763, allocations: 11.94 kB / 440.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.1763, allocations: 7.984 kB / 440.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.1764, allocations: 156.9 kB / 440.3 MB, free: 13.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.292e-06/0.1764, allocations: 0 / 440.3 MB, free: 13.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1767, allocations: 27.92 kB / 440.3 MB, free: 13.57 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.001071/0.1778, allocations: 469.6 kB / 440.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.178, allocations: 55.91 kB / 440.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.178, allocations: 0 / 440.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.541e-05/0.1781, allocations: 28 kB / 440.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.1784, allocations: 27.97 kB / 440.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.179, allocations: 257 kB / 441.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.1794, allocations: 0.7004 MB / 441.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.607e-05/0.1795, allocations: 16.89 kB / 441.9 MB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.1795, allocations: 23.42 kB / 441.9 MB, free: 11.99 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1795, allocations: 0 / 441.9 MB, free: 11.99 MB / 382.1 MB Notification: Performance of Templates: time 0.005126/0.1846, allocations: 1.643 MB / 443.5 MB, free: 10.35 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (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)