Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.nextTimeEvent|startTime_0.y.1.|startTime.nextTimeEvent|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002926/0.002926, allocations: 361.2 kB / 15.95 MB, free: 6.207 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.299/4.299, allocations: 388.9 MB / 405.6 MB, free: 9.66 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.003594/0.003594, allocations: 231.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.6044/0.6044, allocations: 80.02 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.000497, allocations: 12.94 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1164, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4826/0.599, allocations: 82.01 MB / 0.7602 GB, free: 3.293 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5994, allocations: 75.27 kB / 0.7603 GB, free: 3.254 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$startTime.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$startTime.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$startTime.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$startTime.getTableTimeTmax. [/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$startTime_0.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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02345/0.6228, allocations: 6.023 MB / 0.7661 GB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6229, allocations: 0 / 0.7661 GB, free: 14.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.799e-05/0.6229, allocations: 12 kB / 0.7661 GB, free: 14.06 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001419/0.6244, allocations: 0.8288 MB / 0.767 GB, free: 13.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.6244, allocations: 8.031 kB / 0.767 GB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.6246, allocations: 48 kB / 0.767 GB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.6263, allocations: 472.3 kB / 0.7675 GB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.723e-05/0.6264, allocations: 4 kB / 0.7675 GB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/0.6264, allocations: 15.61 kB / 0.7675 GB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005161/0.627, allocations: 90.22 kB / 0.7676 GB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.627, allocations: 11.88 kB / 0.7676 GB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.6271, allocations: 0 / 0.7676 GB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.6271, allocations: 0 / 0.7676 GB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.6274, allocations: 33.61 kB / 0.7676 GB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.6285, allocations: 409.5 kB / 0.768 GB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007535/0.6293, allocations: 118.9 kB / 0.7681 GB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.6297, allocations: 43.89 kB / 0.7682 GB, free: 12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.6298, allocations: 0 / 0.7682 GB, free: 12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005572/0.6304, allocations: 114.9 kB / 0.7683 GB, free: 11.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 7.054e-06/0.6304, allocations: 0 / 0.7683 GB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.001504/0.6319, allocations: 216.3 kB / 0.7685 GB, free: 11.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.929e-05/0.6321, allocations: 85.09 kB / 0.7686 GB, free: 11.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003683/0.6358, allocations: 1.009 MB / 0.7695 GB, free: 10.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.774e-05/0.636, allocations: 29.7 kB / 0.7696 GB, free: 10.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/0.6364, allocations: 229.6 kB / 0.7698 GB, free: 10.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.6365, allocations: 27.25 kB / 0.7698 GB, free: 10.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.6365, allocations: 7.312 kB / 0.7698 GB, free: 10.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002914/0.6368, allocations: 368.3 kB / 0.7702 GB, free: 10.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004217/0.6373, allocations: 60.72 kB / 0.7702 GB, free: 10.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.6377, allocations: 95.95 kB / 0.7703 GB, free: 10.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005159/0.6383, allocations: 137.1 kB / 0.7704 GB, free: 10.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.6383, allocations: 0 / 0.7704 GB, free: 10.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001474/0.6398, allocations: 326.4 kB / 0.7708 GB, free: 9.758 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.6399, allocations: 67.27 kB / 0.7708 GB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.64, allocations: 4 kB / 0.7708 GB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/0.64, allocations: 8.016 kB / 0.7708 GB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.6403, allocations: 20.62 kB / 0.7709 GB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/0.6404, allocations: 3.984 kB / 0.7709 GB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.6408, allocations: 23.78 kB / 0.7709 GB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/0.6409, allocations: 11.5 kB / 0.7709 GB, free: 9.617 MB / 362.7 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0006257/0.6415, allocations: 232.3 kB / 0.7711 GB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.6418, allocations: 51.34 kB / 0.7712 GB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.6429, allocations: 208 kB / 0.7714 GB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.6429, allocations: 0 / 0.7714 GB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.6429, allocations: 7.953 kB / 0.7714 GB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.643, allocations: 0 / 0.7714 GB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008445/0.6438, allocations: 383.2 kB / 0.7717 GB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.6438, allocations: 0 / 0.7717 GB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.644, allocations: 8 kB / 0.7717 GB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/0.644, allocations: 0 / 0.7717 GB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.6441, allocations: 4 kB / 0.7717 GB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/0.6441, allocations: 3.984 kB / 0.7717 GB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.6441, allocations: 4 kB / 0.7718 GB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.6452, allocations: 227.8 kB / 0.772 GB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006475/0.6458, allocations: 203 kB / 0.7722 GB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.646, allocations: 6.938 kB / 0.7722 GB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.6463, allocations: 11.98 kB / 0.7722 GB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/0.6464, allocations: 7.062 kB / 0.7722 GB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.6465, allocations: 15.94 kB / 0.7722 GB, free: 8.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001972/0.6485, allocations: 0.7389 MB / 0.7729 GB, free: 7.797 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6485, allocations: 0 / 0.7729 GB, free: 7.797 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006441/0.6492, allocations: 107.1 kB / 0.773 GB, free: 7.695 MB / 362.7 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00187/0.6511, allocations: 0.5811 MB / 0.7736 GB, free: 7.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007997/0.6519, allocations: 300.2 kB / 0.7739 GB, free: 7.074 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6519, allocations: 0 / 0.7739 GB, free: 7.074 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.6521, allocations: 46.92 kB / 0.7739 GB, free: 7.039 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006984/0.6528, allocations: 56.91 kB / 0.774 GB, free: 7.004 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.6552, allocations: 1.001 MB / 0.775 GB, free: 6.051 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.6558, allocations: 0.8493 MB / 0.7758 GB, free: 5.191 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003286/0.6562, allocations: 89.83 kB / 0.7759 GB, free: 5.113 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.6564, allocations: 42.98 kB / 0.7759 GB, free: 5.074 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6564, allocations: 0 / 0.7759 GB, free: 5.074 MB / 362.7 MB Notification: Performance of Templates: time 0.01636/0.6727, allocations: 4.974 MB / 0.7808 GB, free: 136 kB / 362.7 MB