Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002783/0.002788, allocations: 359.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.367/4.367, allocations: 388.9 MB / 405.6 MB, free: 10.32 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.003727/0.003727, allocations: 230.2 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.5408/0.5408, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005223/0.0005227, allocations: 19.98 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1112, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5439/0.6552, allocations: 82.16 MB / 0.7603 GB, free: 3.199 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.6555, allocations: 80.08 kB / 0.7604 GB, free: 3.156 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.02031/0.6759, allocations: 4.652 MB / 0.7649 GB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.6759, allocations: 4 kB / 0.7649 GB, free: 15.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.6759, allocations: 0 / 0.7649 GB, free: 15.22 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.0008305/0.6768, allocations: 477.8 kB / 0.7654 GB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.6769, allocations: 8.828 kB / 0.7654 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.231e-05/0.677, allocations: 15.91 kB / 0.7654 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.6774, allocations: 206.5 kB / 0.7656 GB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.6774, allocations: 4 kB / 0.7656 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.6775, allocations: 4 kB / 0.7656 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.6777, allocations: 61.41 kB / 0.7657 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.6777, allocations: 0 / 0.7657 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.6777, allocations: 7.828 kB / 0.7657 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.6778, allocations: 0 / 0.7657 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.6779, allocations: 23.86 kB / 0.7657 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.6785, allocations: 323.3 kB / 0.766 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.6788, allocations: 63.3 kB / 0.7661 GB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.226e-05/0.6789, allocations: 20.03 kB / 0.7661 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.6789, allocations: 0 / 0.7661 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.6792, allocations: 82.31 kB / 0.7662 GB, free: 13.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.6792, allocations: 0 / 0.7662 GB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008958/0.6801, allocations: 179.9 kB / 0.7664 GB, free: 13.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.6802, allocations: 55.34 kB / 0.7664 GB, free: 13.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.6805, allocations: 201 kB / 0.7666 GB, free: 13.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.6806, allocations: 25.7 kB / 0.7666 GB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.839e-05/0.6807, allocations: 106.9 kB / 0.7667 GB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.6807, allocations: 18.59 kB / 0.7667 GB, free: 13.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/0.6808, allocations: 4 kB / 0.7667 GB, free: 13.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.6809, allocations: 324.7 kB / 0.7671 GB, free: 12.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.6811, allocations: 36.48 kB / 0.7671 GB, free: 12.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.6812, allocations: 57.88 kB / 0.7671 GB, free: 12.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.6814, allocations: 74.31 kB / 0.7672 GB, free: 12.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6814, allocations: 4 kB / 0.7672 GB, free: 12.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005044/0.682, allocations: 181.3 kB / 0.7674 GB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.541e-05/0.682, allocations: 41 kB / 0.7674 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.6821, allocations: 0 / 0.7674 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.6821, allocations: 0 / 0.7674 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.6823, allocations: 19.98 kB / 0.7675 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.6823, allocations: 0 / 0.7675 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.6824, allocations: 4.375 kB / 0.7675 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.6825, allocations: 4.078 kB / 0.7675 GB, free: 12.63 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.0001773/0.6827, allocations: 136.6 kB / 0.7676 GB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.6827, allocations: 15.86 kB / 0.7676 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000438/0.6832, allocations: 128.5 kB / 0.7677 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.6832, allocations: 0 / 0.7677 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.6832, allocations: 0 / 0.7677 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.6832, allocations: 0 / 0.7677 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007392/0.684, allocations: 428.4 kB / 0.7681 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.684, allocations: 4 kB / 0.7681 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.656e-05/0.6841, allocations: 11.98 kB / 0.7682 GB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.6841, allocations: 192 / 0.7682 GB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.6841, allocations: 0 / 0.7682 GB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.6842, allocations: 7.938 kB / 0.7682 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.6842, allocations: 3.984 kB / 0.7682 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000426/0.6846, allocations: 213.8 kB / 0.7684 GB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.6847, allocations: 104.5 kB / 0.7685 GB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.6848, allocations: 7.375 kB / 0.7685 GB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.6849, allocations: 0 / 0.7685 GB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.685, allocations: 7.984 kB / 0.7685 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.685, allocations: 7.375 kB / 0.7685 GB, free: 11.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002136/0.6852, allocations: 143.2 kB / 0.7686 GB, free: 11.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6853, allocations: 0 / 0.7686 GB, free: 11.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004201/0.6857, allocations: 43.38 kB / 0.7687 GB, free: 11.41 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.001446/0.6872, allocations: 447.8 kB / 0.7691 GB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005418/0.6877, allocations: 167.2 kB / 0.7693 GB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.6878, allocations: 0 / 0.7693 GB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.6879, allocations: 30.86 kB / 0.7693 GB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.6885, allocations: 29.91 kB / 0.7693 GB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007639/0.6892, allocations: 260.5 kB / 0.7696 GB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.6896, allocations: 0.717 MB / 0.7703 GB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.6898, allocations: 16.56 kB / 0.7703 GB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.885e-05/0.6899, allocations: 15.44 kB / 0.7703 GB, free: 9.91 MB / 362.7 MB Notification: Performance of SimCode: time 1.583e-06/0.6899, allocations: 0 / 0.7703 GB, free: 9.91 MB / 362.7 MB Notification: Performance of Templates: time 0.008085/0.698, allocations: 1.759 MB / 0.772 GB, free: 8.176 MB / 362.7 MB