Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new_2.nextTimeEvent|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004864/0.004869, allocations: 363.1 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.236/4.236, allocations: 388.9 MB / 405.6 MB, free: 9.648 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.003579/0.003579, allocations: 235.6 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.6356/0.6356, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006421/0.0006424, allocations: 15.69 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1189, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5406/0.6596, allocations: 82.18 MB / 0.7604 GB, free: 3.211 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/0.66, allocations: 70.28 kB / 0.7604 GB, free: 3.176 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. [/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.02669/0.6867, allocations: 5.354 MB / 0.7656 GB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6867, allocations: 0 / 0.7656 GB, free: 14.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.576e-05/0.6867, allocations: 4 kB / 0.7657 GB, free: 14.91 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.001062/0.6878, allocations: 0.5764 MB / 0.7662 GB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.6879, allocations: 12.03 kB / 0.7662 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.162e-05/0.688, allocations: 15.81 kB / 0.7662 GB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000624/0.6886, allocations: 233.2 kB / 0.7665 GB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.6887, allocations: 4 kB / 0.7665 GB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.6888, allocations: 8 kB / 0.7665 GB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.6892, allocations: 115 kB / 0.7666 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.6892, allocations: 0 / 0.7666 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.6892, allocations: 3.953 kB / 0.7666 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.6893, allocations: 0 / 0.7666 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002453/0.6895, allocations: 36.28 kB / 0.7666 GB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.69, allocations: 234.6 kB / 0.7668 GB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000592/0.6906, allocations: 120.4 kB / 0.767 GB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.6909, allocations: 40.56 kB / 0.767 GB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.6909, allocations: 0 / 0.767 GB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004226/0.6913, allocations: 122.1 kB / 0.7671 GB, free: 13.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.505e-06/0.6914, allocations: 0 / 0.7671 GB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000991/0.6924, allocations: 180.8 kB / 0.7673 GB, free: 13.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.6925, allocations: 128.5 kB / 0.7674 GB, free: 12.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004497/0.693, allocations: 207.3 kB / 0.7676 GB, free: 12.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/0.6931, allocations: 33.02 kB / 0.7676 GB, free: 12.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.6932, allocations: 110.3 kB / 0.7677 GB, free: 12.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.975e-05/0.6933, allocations: 30.38 kB / 0.7678 GB, free: 12.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/0.6933, allocations: 2.562 kB / 0.7678 GB, free: 12.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.6935, allocations: 325.4 kB / 0.7681 GB, free: 12.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.6938, allocations: 51.84 kB / 0.7681 GB, free: 12.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.6942, allocations: 90.69 kB / 0.7682 GB, free: 12.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.6945, allocations: 123.3 kB / 0.7683 GB, free: 12.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.6946, allocations: 0 / 0.7683 GB, free: 12.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000924/0.6955, allocations: 265.3 kB / 0.7686 GB, free: 11.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.6956, allocations: 63.39 kB / 0.7687 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.6957, allocations: 4 kB / 0.7687 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.6957, allocations: 0 / 0.7687 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.696, allocations: 35.62 kB / 0.7687 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.696, allocations: 3.938 kB / 0.7687 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.6963, allocations: 27.75 kB / 0.7687 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/0.6963, allocations: 7.062 kB / 0.7687 GB, free: 11.72 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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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.0002503/0.6966, allocations: 133.6 kB / 0.7689 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.6967, allocations: 11.81 kB / 0.7689 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007325/0.6974, allocations: 163.8 kB / 0.769 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.6975, allocations: 8 kB / 0.769 GB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.6975, allocations: 3.953 kB / 0.769 GB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.6975, allocations: 0 / 0.769 GB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.6979, allocations: 216.7 kB / 0.7692 GB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6979, allocations: 4 kB / 0.7692 GB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.698, allocations: 15.67 kB / 0.7693 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.521e-05/0.6981, allocations: 0 / 0.7693 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.6981, allocations: 11.88 kB / 0.7693 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.6981, allocations: 0 / 0.7693 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6981, allocations: 0 / 0.7693 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000654/0.6988, allocations: 187.6 kB / 0.7695 GB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.699, allocations: 108.2 kB / 0.7696 GB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.6991, allocations: 0 / 0.7696 GB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.6992, allocations: 8 kB / 0.7696 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/0.6993, allocations: 11.42 kB / 0.7696 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.6994, allocations: 4 kB / 0.7696 GB, free: 10.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002999/0.6997, allocations: 164.9 kB / 0.7697 GB, free: 10.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.6997, allocations: 0 / 0.7697 GB, free: 10.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006907/0.7004, allocations: 74.8 kB / 0.7698 GB, free: 10.65 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (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.003087/0.7035, allocations: 0.7048 MB / 0.7705 GB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008905/0.7044, allocations: 266.4 kB / 0.7707 GB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.7045, allocations: 0 / 0.7707 GB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.7047, allocations: 50.05 kB / 0.7708 GB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007077/0.7055, allocations: 42 kB / 0.7708 GB, free: 9.848 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.7065, allocations: 288.7 kB / 0.7711 GB, free: 9.562 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/0.707, allocations: 0.7242 MB / 0.7718 GB, free: 8.812 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000218/0.7073, allocations: 25.19 kB / 0.7718 GB, free: 8.785 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.7074, allocations: 26.86 kB / 0.7719 GB, free: 8.766 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.7074, allocations: 4 kB / 0.7719 GB, free: 8.762 MB / 362.7 MB Notification: Performance of Templates: time 0.01291/0.7203, allocations: 2.969 MB / 0.7748 GB, free: 5.812 MB / 362.7 MB