Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004424/0.004431, 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.449/4.449, 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.003504/0.003504, allocations: 217.8 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.5314/0.5314, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004902, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1319, allocations: 54.88 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4962/0.6282, allocations: 82.25 MB / 0.7604 GB, free: 3.016 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.6286, allocations: 80.14 kB / 0.7605 GB, free: 2.973 MB / 346.7 MB [/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. [/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_2.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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.03277/0.6614, allocations: 6.957 MB / 0.7673 GB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6614, allocations: 0 / 0.7673 GB, free: 13.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.6614, allocations: 4 kB / 0.7673 GB, free: 13.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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001045/0.6625, allocations: 0.6539 MB / 0.7679 GB, free: 12.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.6626, allocations: 12.83 kB / 0.7679 GB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.6627, allocations: 27.72 kB / 0.768 GB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006046/0.6633, allocations: 286.7 kB / 0.7682 GB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.6633, allocations: 4 kB / 0.7683 GB, free: 12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.83e-05/0.6634, allocations: 19.08 kB / 0.7683 GB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.6637, allocations: 95.84 kB / 0.7684 GB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.6638, allocations: 7.969 kB / 0.7684 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.6638, allocations: 0 / 0.7684 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.6638, allocations: 0 / 0.7684 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.6641, allocations: 47.84 kB / 0.7684 GB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008944/0.665, allocations: 0.5045 MB / 0.7689 GB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004833/0.6655, allocations: 126.7 kB / 0.769 GB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.6657, allocations: 42.75 kB / 0.7691 GB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.6657, allocations: 7.938 kB / 0.7691 GB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/0.6661, allocations: 118.1 kB / 0.7692 GB, free: 11.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.665e-06/0.6661, allocations: 4 kB / 0.7692 GB, free: 11.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001509/0.6676, allocations: 392.9 kB / 0.7696 GB, free: 10.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.6677, allocations: 81.11 kB / 0.7696 GB, free: 10.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007429/0.6684, allocations: 412.5 kB / 0.77 GB, free: 10.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.6685, allocations: 37.08 kB / 0.7701 GB, free: 10.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.6687, allocations: 140.9 kB / 0.7702 GB, free: 10.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.117e-05/0.6688, allocations: 51.05 kB / 0.7703 GB, free: 10.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.6688, allocations: 10.81 kB / 0.7703 GB, free: 10.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.669, allocations: 342.8 kB / 0.7706 GB, free: 9.805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.6693, allocations: 79.52 kB / 0.7707 GB, free: 9.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.6696, allocations: 106.3 kB / 0.7708 GB, free: 9.664 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.67, allocations: 148.9 kB / 0.7709 GB, free: 9.547 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.67, allocations: 7.984 kB / 0.7709 GB, free: 9.539 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009265/0.671, allocations: 335.2 kB / 0.7712 GB, free: 9.266 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.13e-05/0.6711, allocations: 70.83 kB / 0.7713 GB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.6711, allocations: 0 / 0.7713 GB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.6711, allocations: 4 kB / 0.7713 GB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.6714, allocations: 31.92 kB / 0.7713 GB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.6714, allocations: 4 kB / 0.7713 GB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.6717, allocations: 15.55 kB / 0.7714 GB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.6717, allocations: 16.81 kB / 0.7714 GB, free: 9.121 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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.0002832/0.672, allocations: 171.7 kB / 0.7715 GB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.719e-05/0.6721, allocations: 27.62 kB / 0.7716 GB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007331/0.6728, allocations: 221.3 kB / 0.7718 GB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.6729, allocations: 4 kB / 0.7718 GB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.6729, allocations: 0 / 0.7718 GB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.6729, allocations: 3.984 kB / 0.7718 GB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.6743, allocations: 0.6947 MB / 0.7725 GB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.6743, allocations: 0 / 0.7725 GB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.6745, allocations: 23.81 kB / 0.7725 GB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.6745, allocations: 4 kB / 0.7725 GB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.6746, allocations: 7.984 kB / 0.7725 GB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.6746, allocations: 64 / 0.7725 GB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/0.6746, allocations: 11.95 kB / 0.7725 GB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007244/0.6753, allocations: 381.2 kB / 0.7729 GB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/0.6756, allocations: 136.1 kB / 0.773 GB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/0.6757, allocations: 7.062 kB / 0.773 GB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.6759, allocations: 11.44 kB / 0.773 GB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.676, allocations: 19.92 kB / 0.773 GB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.676, allocations: 15.23 kB / 0.7731 GB, free: 7.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005524/0.6766, allocations: 303 kB / 0.7733 GB, free: 7.273 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6766, allocations: 0 / 0.7733 GB, free: 7.273 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000666/0.6773, allocations: 90.36 kB / 0.7734 GB, free: 7.191 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.002091/0.6794, allocations: 0.6777 MB / 0.7741 GB, free: 6.715 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008468/0.6803, allocations: 326.2 kB / 0.7744 GB, free: 6.449 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6803, allocations: 0 / 0.7744 GB, free: 6.449 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.6806, allocations: 69.16 kB / 0.7745 GB, free: 6.398 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008179/0.6814, allocations: 43.88 kB / 0.7745 GB, free: 6.367 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.6828, allocations: 0.5576 MB / 0.7751 GB, free: 5.816 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.6833, allocations: 0.7733 MB / 0.7758 GB, free: 5.023 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002105/0.6836, allocations: 37.22 kB / 0.7758 GB, free: 4.992 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.6837, allocations: 34.55 kB / 0.7759 GB, free: 4.961 MB / 362.7 MB Notification: Performance of SimCode: time 1.303e-06/0.6837, allocations: 0 / 0.7759 GB, free: 4.961 MB / 362.7 MB Notification: Performance of Templates: time 0.01162/0.6953, allocations: 3.448 MB / 0.7792 GB, free: 1.539 MB / 362.7 MB