Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002865/0.002864, allocations: 363.6 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.237/4.237, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003582/0.003582, allocations: 224.1 kB / 451 MB, free: 145.1 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.6837/0.6837, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004984/0.0004986, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.108, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5217/0.6298, allocations: 82.15 MB / 0.7603 GB, free: 3.238 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000438/0.6303, allocations: 82.45 kB / 0.7604 GB, free: 3.191 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.0325/0.6628, allocations: 4.593 MB / 0.7649 GB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.028e-06/0.6629, allocations: 0 / 0.7649 GB, free: 15.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.374e-05/0.6629, allocations: 0 / 0.7649 GB, free: 15.31 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.001193/0.6641, allocations: 468.3 kB / 0.7653 GB, free: 14.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/0.6642, allocations: 8.828 kB / 0.7653 GB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.909e-05/0.6644, allocations: 11.91 kB / 0.7653 GB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005902/0.665, allocations: 213.1 kB / 0.7655 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.665, allocations: 4 kB / 0.7656 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/0.6651, allocations: 8 kB / 0.7656 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.6654, allocations: 59.59 kB / 0.7656 GB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.6655, allocations: 0 / 0.7656 GB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.6655, allocations: 3.953 kB / 0.7656 GB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.6655, allocations: 4 kB / 0.7656 GB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.6657, allocations: 23.23 kB / 0.7656 GB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007961/0.6665, allocations: 304.2 kB / 0.7659 GB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.667, allocations: 67.73 kB / 0.766 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.6672, allocations: 20.16 kB / 0.766 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.6672, allocations: 0 / 0.766 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000317/0.6675, allocations: 74.38 kB / 0.7661 GB, free: 13.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 4.168e-06/0.6676, allocations: 0 / 0.7661 GB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001285/0.6689, allocations: 192.9 kB / 0.7663 GB, free: 13.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.669, allocations: 51.41 kB / 0.7663 GB, free: 13.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.6694, allocations: 180.5 kB / 0.7665 GB, free: 13.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.318e-05/0.6695, allocations: 32.52 kB / 0.7665 GB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.6696, allocations: 99.03 kB / 0.7666 GB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.6697, allocations: 27.39 kB / 0.7666 GB, free: 13.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/0.6698, allocations: 7.312 kB / 0.7667 GB, free: 13.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.67, allocations: 318.2 kB / 0.767 GB, free: 13.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.6703, allocations: 46.03 kB / 0.767 GB, free: 13.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.6705, allocations: 48.08 kB / 0.767 GB, free: 13.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.6708, allocations: 77.75 kB / 0.7671 GB, free: 12.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.6709, allocations: 4 kB / 0.7671 GB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007826/0.6717, allocations: 181.7 kB / 0.7673 GB, free: 12.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.751e-05/0.6718, allocations: 37.2 kB / 0.7673 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.6718, allocations: 0 / 0.7673 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.152e-05/0.6719, allocations: 12.03 kB / 0.7673 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.6721, allocations: 15.98 kB / 0.7674 GB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.6722, allocations: 0 / 0.7674 GB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.6723, allocations: 7.984 kB / 0.7674 GB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.6724, allocations: 7 kB / 0.7674 GB, free: 12.75 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.0002364/0.6727, allocations: 132.8 kB / 0.7675 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.6727, allocations: 11.86 kB / 0.7675 GB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000619/0.6734, allocations: 133.3 kB / 0.7676 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.6734, allocations: 0 / 0.7676 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.6734, allocations: 0 / 0.7676 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.6735, allocations: 0 / 0.7676 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.6746, allocations: 420.1 kB / 0.768 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.6747, allocations: 0 / 0.768 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.6748, allocations: 11.98 kB / 0.7681 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.6748, allocations: 0 / 0.7681 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.6749, allocations: 8.031 kB / 0.7681 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.6749, allocations: 0 / 0.7681 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.6749, allocations: 0 / 0.7681 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006478/0.6756, allocations: 213.6 kB / 0.7683 GB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.6758, allocations: 100.2 kB / 0.7684 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.6759, allocations: 9.359 kB / 0.7684 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.6761, allocations: 1.125 kB / 0.7684 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/0.6762, allocations: 12.8 kB / 0.7684 GB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.6762, allocations: 5.188 kB / 0.7684 GB, free: 11.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003095/0.6766, allocations: 138.4 kB / 0.7685 GB, free: 11.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6766, allocations: 0 / 0.7685 GB, free: 11.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006911/0.6773, allocations: 43.23 kB / 0.7686 GB, free: 11.54 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.002193/0.6795, allocations: 434.8 kB / 0.769 GB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007803/0.6804, allocations: 170.8 kB / 0.7691 GB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.6804, allocations: 0 / 0.7691 GB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.6806, allocations: 34.48 kB / 0.7692 GB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007361/0.6814, allocations: 30.12 kB / 0.7692 GB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.6825, allocations: 246.6 kB / 0.7694 GB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.6832, allocations: 0.7123 MB / 0.7701 GB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001789/0.6834, allocations: 20.56 kB / 0.7702 GB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.355e-05/0.6835, allocations: 15.44 kB / 0.7702 GB, free: 10.06 MB / 362.7 MB Notification: Performance of SimCode: time 2.003e-06/0.6835, allocations: 0 / 0.7702 GB, free: 10.06 MB / 362.7 MB Notification: Performance of Templates: time 0.01034/0.6939, allocations: 1.737 MB / 0.7719 GB, free: 8.348 MB / 362.7 MB