Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002846/0.002852, allocations: 347.2 kB / 15.93 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 4.166/4.166, allocations: 341.5 MB / 358.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003445/0.003445, allocations: 226.1 kB / 397.9 MB, free: 4.887 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4741/0.4741, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008089/0.0008092, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1082, allocations: 48.7 MB / 0.6067 GB, free: 4.633 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.5393, allocations: 75.86 MB / 0.6808 GB, free: 36.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.5396, allocations: 75.97 kB / 0.6809 GB, free: 36.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01626/0.5559, allocations: 4.147 MB / 0.6849 GB, free: 32.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5559, allocations: 0 / 0.6849 GB, free: 32.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.556, allocations: 5.219 kB / 0.6849 GB, free: 32.74 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005059/0.5565, allocations: 441.3 kB / 0.6854 GB, free: 32.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/0.5566, allocations: 8.031 kB / 0.6854 GB, free: 32.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.5566, allocations: 11.81 kB / 0.6854 GB, free: 32.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.5569, allocations: 206.9 kB / 0.6856 GB, free: 32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.5569, allocations: 4 kB / 0.6856 GB, free: 32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.5569, allocations: 0 / 0.6856 GB, free: 32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.5571, allocations: 45.69 kB / 0.6856 GB, free: 31.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.5571, allocations: 0 / 0.6856 GB, free: 31.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.5571, allocations: 0 / 0.6856 GB, free: 31.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.5571, allocations: 1.688 kB / 0.6856 GB, free: 31.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.466e-05/0.5572, allocations: 19.92 kB / 0.6856 GB, free: 31.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.5576, allocations: 303.6 kB / 0.6859 GB, free: 31.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.5578, allocations: 42.56 kB / 0.686 GB, free: 31.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/0.5579, allocations: 16.94 kB / 0.686 GB, free: 31.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.5579, allocations: 0 / 0.686 GB, free: 31.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.558, allocations: 56.03 kB / 0.686 GB, free: 31.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.5581, allocations: 4.562 kB / 0.6861 GB, free: 31.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004693/0.5585, allocations: 128.4 kB / 0.6862 GB, free: 31.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.5586, allocations: 54.84 kB / 0.6862 GB, free: 31.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.5589, allocations: 193.2 kB / 0.6864 GB, free: 31.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.5589, allocations: 29.7 kB / 0.6864 GB, free: 31.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.559, allocations: 101.6 kB / 0.6865 GB, free: 30.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.5591, allocations: 23.73 kB / 0.6866 GB, free: 30.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/0.5591, allocations: 0 / 0.6866 GB, free: 30.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.818e-05/0.5592, allocations: 322.8 kB / 0.6869 GB, free: 30.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.012e-05/0.5593, allocations: 25.39 kB / 0.6869 GB, free: 30.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.711e-05/0.5594, allocations: 27.97 kB / 0.6869 GB, free: 30.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.5595, allocations: 49.7 kB / 0.687 GB, free: 30.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5595, allocations: 7.219 kB / 0.687 GB, free: 30.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003378/0.5599, allocations: 135.2 kB / 0.6871 GB, free: 30.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/0.5599, allocations: 33.7 kB / 0.6871 GB, free: 30.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.56, allocations: 0 / 0.6871 GB, free: 30.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.56, allocations: 0 / 0.6871 GB, free: 30.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.5601, allocations: 11.98 kB / 0.6871 GB, free: 30.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5601, allocations: 0 / 0.6871 GB, free: 30.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.168e-05/0.5602, allocations: 15.33 kB / 0.6872 GB, free: 30.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.5603, allocations: 0 / 0.6872 GB, free: 30.26 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001218/0.5604, allocations: 129.4 kB / 0.6873 GB, free: 30.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.5604, allocations: 7.906 kB / 0.6873 GB, free: 30.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.5608, allocations: 96.61 kB / 0.6874 GB, free: 30.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.5608, allocations: 0 / 0.6874 GB, free: 30.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5608, allocations: 0 / 0.6874 GB, free: 30.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5608, allocations: 0 / 0.6874 GB, free: 30.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005081/0.5613, allocations: 370.4 kB / 0.6877 GB, free: 29.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5614, allocations: 0.5938 kB / 0.6877 GB, free: 29.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-05/0.5614, allocations: 4 kB / 0.6877 GB, free: 29.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.5615, allocations: 6.812 kB / 0.6877 GB, free: 29.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.5615, allocations: 3.984 kB / 0.6878 GB, free: 29.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5615, allocations: 0 / 0.6878 GB, free: 29.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5615, allocations: 3.953 kB / 0.6878 GB, free: 29.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.5618, allocations: 171.5 kB / 0.6879 GB, free: 29.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.5619, allocations: 94.84 kB / 0.688 GB, free: 29.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.5619, allocations: 3.062 kB / 0.688 GB, free: 29.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.5621, allocations: 8 kB / 0.688 GB, free: 29.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.5621, allocations: 3.938 kB / 0.688 GB, free: 29.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.5622, allocations: 14.66 kB / 0.688 GB, free: 29.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001965/0.5624, allocations: 145 kB / 0.6882 GB, free: 29.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5624, allocations: 0 / 0.6882 GB, free: 29.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005583/0.5629, allocations: 39.88 kB / 0.6882 GB, free: 29.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001282/0.5642, allocations: 361.7 kB / 0.6886 GB, free: 28.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003211/0.5646, allocations: 111.4 kB / 0.6887 GB, free: 28.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5646, allocations: 0 / 0.6887 GB, free: 28.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.158e-05/0.5647, allocations: 26.27 kB / 0.6887 GB, free: 28.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.5653, allocations: 15.98 kB / 0.6887 GB, free: 28.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006558/0.566, allocations: 227.3 kB / 0.6889 GB, free: 28.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.5662, allocations: 0.7064 MB / 0.6896 GB, free: 27.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.294e-05/0.5663, allocations: 12 kB / 0.6896 GB, free: 27.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.5664, allocations: 11.44 kB / 0.6896 GB, free: 27.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5664, allocations: 3.188 kB / 0.6896 GB, free: 27.77 MB / 362.7 MB Notification: Performance of Templates: time 0.007586/0.574, allocations: 1.555 MB / 0.6912 GB, free: 26.34 MB / 362.7 MB