Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002809/0.002814, 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.429/4.429, allocations: 388.9 MB / 405.6 MB, free: 9.59 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.005242/0.005241, allocations: 215.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.6053/0.6053, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.000462, allocations: 16 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.107, allocations: 54.88 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5521/0.6591, allocations: 82.14 MB / 0.7603 GB, free: 3.117 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.6595, allocations: 84.25 kB / 0.7604 GB, free: 3.07 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. Notification: Performance of FrontEnd - DAE generated: time 0.01858/0.6781, allocations: 4.579 MB / 0.7649 GB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6781, allocations: 0 / 0.7649 GB, free: 15.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.6781, allocations: 4 kB / 0.7649 GB, free: 15.21 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006698/0.6788, allocations: 476.6 kB / 0.7653 GB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.6789, allocations: 8.828 kB / 0.7653 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/0.6789, allocations: 7.906 kB / 0.7653 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.6794, allocations: 208.1 kB / 0.7655 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.6794, allocations: 4 kB / 0.7655 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.6795, allocations: 7.125 kB / 0.7655 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.6797, allocations: 56.48 kB / 0.7656 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.6797, allocations: 0 / 0.7656 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.6797, allocations: 3.953 kB / 0.7656 GB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.6797, allocations: 0 / 0.7656 GB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.6799, allocations: 25.73 kB / 0.7656 GB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.6804, allocations: 315.7 kB / 0.7659 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.6807, allocations: 59.62 kB / 0.766 GB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.144e-05/0.6808, allocations: 24.16 kB / 0.766 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.6808, allocations: 3.938 kB / 0.766 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.681, allocations: 78.12 kB / 0.7661 GB, free: 13.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.993e-06/0.681, allocations: 0 / 0.7661 GB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008075/0.6818, allocations: 187.2 kB / 0.7663 GB, free: 13.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.6819, allocations: 55.41 kB / 0.7663 GB, free: 13.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.6822, allocations: 177.3 kB / 0.7665 GB, free: 13.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.6822, allocations: 28.89 kB / 0.7665 GB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.6823, allocations: 95.3 kB / 0.7666 GB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.6823, allocations: 30.39 kB / 0.7666 GB, free: 13.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/0.6824, allocations: 4 kB / 0.7666 GB, free: 13.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6825, allocations: 330.5 kB / 0.767 GB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.6827, allocations: 32.8 kB / 0.767 GB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.6828, allocations: 57.25 kB / 0.767 GB, free: 12.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.683, allocations: 73.02 kB / 0.7671 GB, free: 12.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.683, allocations: 0 / 0.7671 GB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004695/0.6835, allocations: 186.2 kB / 0.7673 GB, free: 12.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.6836, allocations: 45.47 kB / 0.7673 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6836, allocations: 0 / 0.7673 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.6836, allocations: 0 / 0.7673 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.6838, allocations: 12 kB / 0.7673 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.6838, allocations: 4 kB / 0.7673 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.632e-05/0.6839, allocations: 7.984 kB / 0.7674 GB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.6839, allocations: 4 kB / 0.7674 GB, free: 12.64 MB / 362.7 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 ($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 (11): * Single equations (assignments): 10 * 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.0001375/0.6841, allocations: 128.7 kB / 0.7675 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.6841, allocations: 11.86 kB / 0.7675 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.6845, allocations: 135.5 kB / 0.7676 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.6846, allocations: 4 kB / 0.7676 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6846, allocations: 0 / 0.7676 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.6846, allocations: 0 / 0.7676 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006766/0.6853, allocations: 415.8 kB / 0.768 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6853, allocations: 0 / 0.768 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.982e-05/0.6854, allocations: 8 kB / 0.768 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.6854, allocations: 8.031 kB / 0.768 GB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.6854, allocations: 0 / 0.768 GB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.6854, allocations: 0 / 0.768 GB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6854, allocations: 4.188 kB / 0.768 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.6858, allocations: 222.7 kB / 0.7683 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.623e-05/0.6859, allocations: 100.3 kB / 0.7684 GB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.686, allocations: 0 / 0.7684 GB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.6861, allocations: 11.38 kB / 0.7684 GB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.6861, allocations: 7.984 kB / 0.7684 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.6862, allocations: 4 kB / 0.7684 GB, free: 11.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000166/0.6863, allocations: 139 kB / 0.7685 GB, free: 11.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6864, allocations: 0 / 0.7685 GB, free: 11.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003893/0.6868, allocations: 39.5 kB / 0.7685 GB, free: 11.43 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: 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 (9): * Single equations (assignments): 7 * 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.001311/0.6881, allocations: 448.6 kB / 0.769 GB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004131/0.6885, allocations: 162.8 kB / 0.7691 GB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6885, allocations: 0 / 0.7691 GB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.6887, allocations: 34.3 kB / 0.7692 GB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.6891, allocations: 26.56 kB / 0.7692 GB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006101/0.6897, allocations: 255.7 kB / 0.7694 GB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.6901, allocations: 0.7125 MB / 0.7701 GB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.095e-05/0.6902, allocations: 20.56 kB / 0.7701 GB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.551e-05/0.6902, allocations: 15.44 kB / 0.7702 GB, free: 9.953 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6902, allocations: 0 / 0.7702 GB, free: 9.953 MB / 362.7 MB Notification: Performance of Templates: time 0.006607/0.6968, allocations: 1.743 MB / 0.7719 GB, free: 8.242 MB / 362.7 MB