Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, 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.002257/0.002257, allocations: 194.2 kB / 16.14 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.706/1.706, allocations: 205.1 MB / 222 MB, free: 4.727 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.4203/0.4203, allocations: 39.94 MB / 309.3 MB, free: 9.641 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.001685/0.001685, allocations: 63.91 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1622, allocations: 56.89 MB / 433.8 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003996/0.1662, allocations: 1.748 MB / 435.6 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.1677, allocations: 0.7923 MB / 436.4 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.478e-05/0.1678, allocations: 0 / 436.4 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.1684, allocations: 83.77 kB / 436.4 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.1687, allocations: 71.77 kB / 436.5 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.1689, allocations: 71.86 kB / 436.6 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.1692, allocations: 103.7 kB / 436.7 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.1693, allocations: 16.2 kB / 436.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.1694, allocations: 51.78 kB / 436.7 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.1696, allocations: 63.75 kB / 436.8 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.1696, allocations: 0 / 436.8 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.1697, allocations: 43.97 kB / 436.8 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.978e-05/0.1698, allocations: 27.91 kB / 436.9 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.456e-05/0.1699, allocations: 31.69 kB / 436.9 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.1701, allocations: 119.9 kB / 437 MB, free: 1.172 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1702, allocations: 0 / 437 MB, free: 1.172 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1702, allocations: 0 / 437 MB, free: 1.172 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1702, allocations: 0 / 437 MB, free: 1.172 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.0007972/0.171, allocations: 430.8 kB / 437.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.171, allocations: 11.97 kB / 437.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.1711, allocations: 8.844 kB / 437.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.1714, allocations: 216 kB / 437.7 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1714, allocations: 4.375 kB / 437.7 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.1714, allocations: 8.125 kB / 437.7 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.1716, allocations: 57.61 kB / 437.7 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1717, allocations: 0 / 437.7 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.1717, allocations: 12 kB / 437.8 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1717, allocations: 0 / 437.8 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.54e-05/0.1718, allocations: 19.92 kB / 437.8 MB, free: 336 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.1723, allocations: 292.8 kB / 438.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.1724, allocations: 54.69 kB / 438.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.355e-05/0.1725, allocations: 24.84 kB / 438.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.1726, allocations: 4 kB / 438.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.1728, allocations: 67.33 kB / 438.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1728, allocations: 0 / 438.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000592/0.1734, allocations: 177.1 kB / 438.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.1735, allocations: 55.41 kB / 438.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.1737, allocations: 222.7 kB / 438.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1737, allocations: 25.7 kB / 438.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.124e-05/0.1738, allocations: 112.1 kB / 438.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.1739, allocations: 23.66 kB / 438.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.1739, allocations: 21.7 kB / 438.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1741, allocations: 334.8 kB / 439.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.704e-05/0.1741, allocations: 16 kB / 439.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-05/0.1742, allocations: 37.7 kB / 439.2 MB, free: 14.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.1743, allocations: 69.7 kB / 439.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1743, allocations: 0 / 439.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001758/0.1745, allocations: 101.5 kB / 439.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1745, allocations: 4 kB / 439.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1745, allocations: 0 / 439.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1746, allocations: 0 / 439.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.281e-05/0.1747, allocations: 19.94 kB / 439.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1747, allocations: 4.031 kB / 439.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.1747, allocations: 15.86 kB / 439.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.1748, allocations: 4 kB / 439.4 MB, free: 14.53 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.0001215/0.1749, allocations: 129.6 kB / 439.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.1749, allocations: 15.89 kB / 439.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.175, allocations: 13.41 kB / 439.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.175, allocations: 0 / 439.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.175, allocations: 4.375 kB / 439.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.175, allocations: 4.125 kB / 439.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.1755, allocations: 403.2 kB / 440 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1755, allocations: 7.938 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.1756, allocations: 8 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1756, allocations: 7.922 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1756, allocations: 7.938 kB / 440 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1756, allocations: 0 / 440 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1756, allocations: 0 / 440 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.1759, allocations: 208.3 kB / 440.2 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.1759, allocations: 88.92 kB / 440.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.176, allocations: 7.938 kB / 440.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.176, allocations: 4 kB / 440.3 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.1761, allocations: 7.984 kB / 440.3 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.1761, allocations: 4 kB / 440.3 MB, free: 13.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.1763, allocations: 172.3 kB / 440.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1763, allocations: 0 / 440.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1765, allocations: 31.98 kB / 440.5 MB, free: 13.32 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.001054/0.1776, allocations: 461.8 kB / 441 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.1778, allocations: 59.97 kB / 441 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1778, allocations: 0 / 441 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.959e-05/0.1779, allocations: 24.09 kB / 441.1 MB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1782, allocations: 36.05 kB / 441.1 MB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005842/0.1788, allocations: 284.8 kB / 441.4 MB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/0.1793, allocations: 0.7082 MB / 442.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.798e-05/0.1794, allocations: 12.89 kB / 442.1 MB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.1795, allocations: 23.36 kB / 442.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1795, allocations: 3.938 kB / 442.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of Templates: time 0.005296/0.1848, allocations: 1.649 MB / 443.8 MB, free: 10.05 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1)