Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002747/0.002747, allocations: 361 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.459/4.459, allocations: 388.9 MB / 405.6 MB, free: 9.586 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003655/0.003654, allocations: 236.5 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.6055/0.6055, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004866/0.0004867, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1094, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4753/0.5848, allocations: 82.91 MB / 0.7611 GB, free: 2.461 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.5851, allocations: 80.16 kB / 0.7611 GB, free: 2.418 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.0151/0.6002, allocations: 3.614 MB / 0.7647 GB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6003, allocations: 0 / 0.7647 GB, free: 15.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.524e-05/0.6003, allocations: 8 kB / 0.7647 GB, free: 15.36 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008073/0.6011, allocations: 0.5139 MB / 0.7652 GB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.6012, allocations: 8.828 kB / 0.7652 GB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.467e-05/0.6013, allocations: 19.77 kB / 0.7652 GB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.6017, allocations: 217.4 kB / 0.7654 GB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.6017, allocations: 11.05 kB / 0.7654 GB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.6017, allocations: 7.125 kB / 0.7654 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.6021, allocations: 79.59 kB / 0.7655 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.6021, allocations: 3.938 kB / 0.7655 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.6021, allocations: 4 kB / 0.7655 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.6021, allocations: 3.953 kB / 0.7655 GB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.6024, allocations: 50.16 kB / 0.7656 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007329/0.6031, allocations: 371.9 kB / 0.7659 GB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.6036, allocations: 107.6 kB / 0.766 GB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.6038, allocations: 38.72 kB / 0.7661 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.6039, allocations: 0 / 0.7661 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.6042, allocations: 85.25 kB / 0.7661 GB, free: 13.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.154e-06/0.6042, allocations: 0 / 0.7661 GB, free: 13.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006553/0.6049, allocations: 163.9 kB / 0.7663 GB, free: 13.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.6049, allocations: 55.34 kB / 0.7663 GB, free: 13.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.6052, allocations: 175.6 kB / 0.7665 GB, free: 13.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.6052, allocations: 25.7 kB / 0.7665 GB, free: 13.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.305e-05/0.6053, allocations: 121.2 kB / 0.7667 GB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.6054, allocations: 19.09 kB / 0.7667 GB, free: 13.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/0.6054, allocations: 3.312 kB / 0.7667 GB, free: 13.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6055, allocations: 322.2 kB / 0.767 GB, free: 12.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.6057, allocations: 44.97 kB / 0.767 GB, free: 12.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.606, allocations: 75.98 kB / 0.7671 GB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.6062, allocations: 82.88 kB / 0.7672 GB, free: 12.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6062, allocations: 3.938 kB / 0.7672 GB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005982/0.6069, allocations: 206.3 kB / 0.7674 GB, free: 12.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.019e-05/0.6069, allocations: 37.75 kB / 0.7674 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.607, allocations: 8 kB / 0.7674 GB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.607, allocations: 0 / 0.7674 GB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.6072, allocations: 23.92 kB / 0.7674 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.6072, allocations: 7.984 kB / 0.7675 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.6074, allocations: 19.16 kB / 0.7675 GB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.6074, allocations: 4 kB / 0.7675 GB, free: 12.51 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.6076, allocations: 133.2 kB / 0.7676 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.6077, allocations: 19.86 kB / 0.7676 GB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005446/0.6082, allocations: 132.5 kB / 0.7677 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.6082, allocations: 0 / 0.7677 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6082, allocations: 4 kB / 0.7677 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.6083, allocations: 0 / 0.7677 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.6085, allocations: 211.6 kB / 0.768 GB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.6086, allocations: 0 / 0.768 GB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.6087, allocations: 23.92 kB / 0.768 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.6088, allocations: 3.953 kB / 0.768 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.6088, allocations: 3.812 kB / 0.768 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.6088, allocations: 0 / 0.768 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6088, allocations: 4 kB / 0.768 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006452/0.6095, allocations: 196.9 kB / 0.7682 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.6096, allocations: 100.2 kB / 0.7683 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.6096, allocations: 7.891 kB / 0.7683 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.6098, allocations: 11.98 kB / 0.7683 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.6098, allocations: 4 kB / 0.7683 GB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.6099, allocations: 4 kB / 0.7683 GB, free: 11.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001535/0.61, allocations: 126.6 kB / 0.7684 GB, free: 11.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.61, allocations: 0 / 0.7684 GB, free: 11.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003683/0.6104, allocations: 42.94 kB / 0.7685 GB, free: 11.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001277/0.6117, allocations: 390.6 kB / 0.7688 GB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006361/0.6124, allocations: 198.8 kB / 0.769 GB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.6124, allocations: 0 / 0.769 GB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.6126, allocations: 42.84 kB / 0.7691 GB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.6131, allocations: 31.28 kB / 0.7691 GB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007594/0.6139, allocations: 292.7 kB / 0.7694 GB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.6142, allocations: 0.7198 MB / 0.7701 GB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.6144, allocations: 16.55 kB / 0.7701 GB, free: 10 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.6144, allocations: 14.44 kB / 0.7701 GB, free: 9.992 MB / 362.7 MB Notification: Performance of SimCode: time 1.342e-06/0.6145, allocations: 0 / 0.7701 GB, free: 9.992 MB / 362.7 MB Notification: Performance of Templates: time 0.007027/0.6215, allocations: 1.785 MB / 0.7718 GB, free: 8.23 MB / 362.7 MB