Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002876/0.002876, allocations: 359.9 kB / 15.95 MB, free: 6.207 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.155/4.155, 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.003699/0.003699, allocations: 229.4 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.6234/0.6234, allocations: 80.02 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006677/0.000668, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1043, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5326/0.637, allocations: 81.99 MB / 0.7602 GB, free: 3.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.6373, allocations: 80.7 kB / 0.7602 GB, free: 3.277 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.01938/0.6567, allocations: 4.73 MB / 0.7649 GB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6567, allocations: 0 / 0.7649 GB, free: 15.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.6568, allocations: 4 kB / 0.7649 GB, free: 15.24 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.0006807/0.6574, allocations: 495.5 kB / 0.7653 GB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.6575, allocations: 8.828 kB / 0.7653 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.805e-05/0.6576, allocations: 15.81 kB / 0.7654 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.658, allocations: 222.1 kB / 0.7656 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.658, allocations: 0 / 0.7656 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.6581, allocations: 7.984 kB / 0.7656 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.6582, allocations: 52.48 kB / 0.7656 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.6583, allocations: 0 / 0.7656 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.6583, allocations: 3.953 kB / 0.7656 GB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.6583, allocations: 3.938 kB / 0.7656 GB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.6584, allocations: 19.48 kB / 0.7656 GB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.6587, allocations: 206.7 kB / 0.7658 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.659, allocations: 58.11 kB / 0.7659 GB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.854e-05/0.6591, allocations: 20.23 kB / 0.7659 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.6591, allocations: 0 / 0.7659 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.6593, allocations: 73.75 kB / 0.766 GB, free: 13.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 2.114e-06/0.6594, allocations: 0 / 0.766 GB, free: 13.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004893/0.6599, allocations: 114.4 kB / 0.7661 GB, free: 13.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.6599, allocations: 51.41 kB / 0.7662 GB, free: 13.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.6604, allocations: 250.6 kB / 0.7664 GB, free: 13.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.6604, allocations: 33.64 kB / 0.7664 GB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/0.6605, allocations: 112.8 kB / 0.7665 GB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.6606, allocations: 11.84 kB / 0.7665 GB, free: 13.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.6606, allocations: 2.875 kB / 0.7665 GB, free: 13.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.6608, allocations: 333.3 kB / 0.7669 GB, free: 13.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.6609, allocations: 29.73 kB / 0.7669 GB, free: 13.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.6611, allocations: 46.94 kB / 0.7669 GB, free: 13.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.6613, allocations: 66.19 kB / 0.767 GB, free: 13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6613, allocations: 0 / 0.767 GB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004616/0.6617, allocations: 159.8 kB / 0.7671 GB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.998e-05/0.6618, allocations: 41.72 kB / 0.7672 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6618, allocations: 0 / 0.7672 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.6619, allocations: 0 / 0.7672 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.662, allocations: 11.94 kB / 0.7672 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/0.662, allocations: 7.953 kB / 0.7672 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.6622, allocations: 14.95 kB / 0.7672 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.6622, allocations: 7.984 kB / 0.7672 GB, free: 12.77 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 (8): * Single equations (assignments): 7 * 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.000185/0.6624, allocations: 131.8 kB / 0.7674 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.6624, allocations: 11.91 kB / 0.7674 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.6628, allocations: 106.4 kB / 0.7675 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.6628, allocations: 0 / 0.7675 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6628, allocations: 4 kB / 0.7675 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.6629, allocations: 7.938 kB / 0.7675 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.6631, allocations: 206 kB / 0.7677 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.6631, allocations: 0 / 0.7677 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.026e-05/0.6632, allocations: 11.98 kB / 0.7677 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.6632, allocations: 0 / 0.7677 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.6632, allocations: 0 / 0.7677 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.6632, allocations: 0 / 0.7677 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6633, allocations: 4 kB / 0.7677 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.6636, allocations: 118.3 kB / 0.7678 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.6637, allocations: 104.3 kB / 0.7679 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.6638, allocations: 0 / 0.7679 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.6639, allocations: 11.92 kB / 0.7679 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.6639, allocations: 6.938 kB / 0.7679 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.664, allocations: 4.25 kB / 0.7679 GB, free: 12.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00029/0.6643, allocations: 196.3 kB / 0.7681 GB, free: 11.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6643, allocations: 0 / 0.7681 GB, free: 11.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003478/0.6646, allocations: 35.19 kB / 0.7681 GB, free: 11.83 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: 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 (6): * Single equations (assignments): 4 * 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.001243/0.6659, allocations: 388.9 kB / 0.7685 GB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004384/0.6664, allocations: 147.8 kB / 0.7687 GB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6664, allocations: 3.938 kB / 0.7687 GB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.6665, allocations: 19.17 kB / 0.7687 GB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.6669, allocations: 30.77 kB / 0.7687 GB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007452/0.6677, allocations: 292.5 kB / 0.769 GB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.6681, allocations: 0.712 MB / 0.7697 GB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.2e-05/0.6682, allocations: 27.92 kB / 0.7697 GB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.6682, allocations: 15.44 kB / 0.7697 GB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6683, allocations: 0 / 0.7697 GB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.006611/0.6749, allocations: 1.646 MB / 0.7713 GB, free: 8.742 MB / 362.7 MB