Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001304/0.001304, allocations: 188.7 kB / 16.13 MB, free: 6.652 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.637/1.637, allocations: 205.1 MB / 222 MB, free: 4.758 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.3556/0.3556, allocations: 39.94 MB / 309.3 MB, free: 9.707 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.001357/0.001357, allocations: 63.91 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1624, allocations: 56.89 MB / 433.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003317/0.1658, allocations: 1.748 MB / 435.6 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.1672, allocations: 0.7884 MB / 436.4 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.22e-05/0.1672, allocations: 3.938 kB / 436.4 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.1676, allocations: 39.89 kB / 436.4 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.1678, allocations: 39.83 kB / 436.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.168, allocations: 79.84 kB / 436.5 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.1682, allocations: 91.7 kB / 436.6 MB, free: 1.602 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1683, allocations: 8.219 kB / 436.6 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.76e-05/0.1684, allocations: 43.77 kB / 436.7 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.94e-05/0.1685, allocations: 31.8 kB / 436.7 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1685, allocations: 4 kB / 436.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.677e-05/0.1686, allocations: 39.97 kB / 436.7 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/0.1687, allocations: 19.92 kB / 436.7 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.1687, allocations: 23.81 kB / 436.8 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.1689, allocations: 111.9 kB / 436.9 MB, free: 1.324 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1689, allocations: 4 kB / 436.9 MB, free: 1.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.169, allocations: 0 / 436.9 MB, free: 1.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.169, allocations: 0 / 436.9 MB, free: 1.32 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.0006039/0.1696, allocations: 410.9 kB / 437.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1696, allocations: 12.03 kB / 437.3 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.1697, allocations: 12.75 kB / 437.3 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.1699, allocations: 204 kB / 437.5 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.17, allocations: 4.375 kB / 437.5 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.17, allocations: 16.02 kB / 437.5 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.1702, allocations: 61.66 kB / 437.6 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1702, allocations: 0 / 437.6 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1702, allocations: 0 / 437.6 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1702, allocations: 0 / 437.6 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.479e-05/0.1703, allocations: 23.92 kB / 437.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.1707, allocations: 284.9 kB / 437.9 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.1709, allocations: 54.69 kB / 437.9 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.171, allocations: 20.84 kB / 438 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.171, allocations: 0 / 438 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.1712, allocations: 71.33 kB / 438 MB, free: 4 kB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.512e-06/0.1712, allocations: 4 kB / 438 MB, free: 0 / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005716/0.1718, allocations: 165.2 kB / 438.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.1718, allocations: 55.41 kB / 438.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.172, allocations: 166.2 kB / 438.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.172, allocations: 29.7 kB / 438.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.1721, allocations: 104.1 kB / 438.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.1721, allocations: 23.66 kB / 438.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1722, allocations: 25.7 kB / 438.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1723, allocations: 326.8 kB / 438.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-05/0.1724, allocations: 19.94 kB / 438.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.626e-05/0.1724, allocations: 37.69 kB / 439 MB, free: 15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.1726, allocations: 69.64 kB / 439 MB, free: 14.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.1726, allocations: 0 / 439 MB, free: 14.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001699/0.1728, allocations: 101.6 kB / 439.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1728, allocations: 4 kB / 439.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1728, allocations: 4.078 kB / 439.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1728, allocations: 0 / 439.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1729, allocations: 15.94 kB / 439.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1729, allocations: 3.984 kB / 439.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.173, allocations: 11.92 kB / 439.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.173, allocations: 8.031 kB / 439.2 MB, free: 14.78 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.0001027/0.1731, allocations: 121.8 kB / 439.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.1732, allocations: 11.81 kB / 439.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/0.1732, allocations: 17.08 kB / 439.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1732, allocations: 0 / 439.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1732, allocations: 0 / 439.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1732, allocations: 3.938 kB / 439.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.1737, allocations: 395.3 kB / 439.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1737, allocations: 0 / 439.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.361e-05/0.1737, allocations: 8 kB / 439.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1738, allocations: 3.938 kB / 439.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.1738, allocations: 11.92 kB / 439.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1738, allocations: 4 kB / 439.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1738, allocations: 0 / 439.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.174, allocations: 196.3 kB / 439.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.1741, allocations: 85.02 kB / 440 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.1741, allocations: 7.938 kB / 440 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.1742, allocations: 7.984 kB / 440 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.1742, allocations: 4 kB / 440 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.1743, allocations: 4 kB / 440 MB, free: 13.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1744, allocations: 136 kB / 440.2 MB, free: 13.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1744, allocations: 0 / 440.2 MB, free: 13.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.1746, allocations: 24 kB / 440.2 MB, free: 13.65 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.001039/0.1757, allocations: 477.1 kB / 440.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.1759, allocations: 59.95 kB / 440.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1759, allocations: 4.062 kB / 440.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.518e-05/0.176, allocations: 35.92 kB / 440.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.1763, allocations: 27.86 kB / 440.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.1768, allocations: 236.5 kB / 441 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.1771, allocations: 0.7043 MB / 441.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.227e-05/0.1771, allocations: 17.17 kB / 441.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.1772, allocations: 19.44 kB / 441.8 MB, free: 12.06 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1772, allocations: 3.938 kB / 441.8 MB, free: 12.05 MB / 382.1 MB Notification: Performance of Templates: time 0.004351/0.1815, allocations: 1.631 MB / 443.4 MB, free: 10.43 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1)