Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test1.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.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002931/0.002936, allocations: 361.1 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.238/4.238, allocations: 388.9 MB / 405.6 MB, free: 9.598 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.005041/0.00504, allocations: 231.9 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.5462/0.5462, allocations: 80.01 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006375/0.0006377, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1018, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4463/0.5482, allocations: 81.04 MB / 0.7592 GB, free: 4.332 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.5485, allocations: 77.83 kB / 0.7593 GB, free: 4.293 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01768/0.5662, allocations: 5.434 MB / 0.7646 GB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5662, allocations: 0 / 0.7646 GB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.971e-05/0.5663, allocations: 4 kB / 0.7646 GB, free: 15.39 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009222/0.5672, allocations: 0.6393 MB / 0.7652 GB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.5673, allocations: 12.83 kB / 0.7652 GB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.5674, allocations: 39.44 kB / 0.7653 GB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005803/0.568, allocations: 321.7 kB / 0.7656 GB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.568, allocations: 0 / 0.7656 GB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.568, allocations: 7.438 kB / 0.7656 GB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.5683, allocations: 60.97 kB / 0.7657 GB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.5683, allocations: 7.953 kB / 0.7657 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.5683, allocations: 0 / 0.7657 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5683, allocations: 0 / 0.7657 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.5685, allocations: 27.05 kB / 0.7657 GB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008323/0.5693, allocations: 431.8 kB / 0.7661 GB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.5697, allocations: 50.48 kB / 0.7661 GB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.889e-05/0.5698, allocations: 18.61 kB / 0.7662 GB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.5698, allocations: 4 kB / 0.7662 GB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.5698, allocations: 34.5 kB / 0.7662 GB, free: 13.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.294e-06/0.5698, allocations: 0 / 0.7662 GB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009452/0.5708, allocations: 237.7 kB / 0.7664 GB, free: 13.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.5709, allocations: 59.34 kB / 0.7665 GB, free: 13.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.5728, allocations: 0.8339 MB / 0.7673 GB, free: 12.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.5728, allocations: 25.7 kB / 0.7673 GB, free: 12.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.5731, allocations: 211.2 kB / 0.7675 GB, free: 12.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.5731, allocations: 19.69 kB / 0.7675 GB, free: 12.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.5731, allocations: 0 / 0.7675 GB, free: 12.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.5733, allocations: 362.2 kB / 0.7679 GB, free: 12.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.5735, allocations: 23.48 kB / 0.7679 GB, free: 12.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.5737, allocations: 27.92 kB / 0.7679 GB, free: 12.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.5738, allocations: 57.52 kB / 0.768 GB, free: 12.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.5738, allocations: 0 / 0.768 GB, free: 12.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004632/0.5743, allocations: 154.3 kB / 0.7681 GB, free: 11.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.5744, allocations: 29.7 kB / 0.7682 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5744, allocations: 0 / 0.7682 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.5744, allocations: 4.219 kB / 0.7682 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.5746, allocations: 20.17 kB / 0.7682 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.5746, allocations: 0 / 0.7682 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.5747, allocations: 19.89 kB / 0.7682 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.5747, allocations: 3.938 kB / 0.7682 GB, free: 11.91 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.0003413/0.5751, allocations: 212.5 kB / 0.7684 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.5752, allocations: 47.33 kB / 0.7685 GB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006071/0.5758, allocations: 136.4 kB / 0.7686 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.5759, allocations: 0 / 0.7686 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.5759, allocations: 4 kB / 0.7686 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.576, allocations: 0 / 0.7686 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.5785, allocations: 0.5851 MB / 0.7692 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.5785, allocations: 0 / 0.7692 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.5787, allocations: 23.92 kB / 0.7692 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/0.5787, allocations: 0 / 0.7692 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.5787, allocations: 3.938 kB / 0.7692 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5787, allocations: 0 / 0.7692 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.5787, allocations: 4 kB / 0.7692 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004718/0.5792, allocations: 226.2 kB / 0.7694 GB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002546/0.5795, allocations: 152.3 kB / 0.7696 GB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.5796, allocations: 4 kB / 0.7696 GB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.5797, allocations: 11.86 kB / 0.7696 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.5798, allocations: 4 kB / 0.7696 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.5798, allocations: 0 / 0.7696 GB, free: 10.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001116/0.5809, allocations: 0.6286 MB / 0.7702 GB, free: 10.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5809, allocations: 0 / 0.7702 GB, free: 10.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000456/0.5814, allocations: 56 kB / 0.7702 GB, free: 10.04 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0008905/0.5823, allocations: 287.4 kB / 0.7705 GB, free: 9.844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004144/0.5828, allocations: 114.9 kB / 0.7706 GB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.5828, allocations: 0 / 0.7706 GB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.5829, allocations: 27.73 kB / 0.7707 GB, free: 9.707 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/0.5834, allocations: 29.22 kB / 0.7707 GB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.5854, allocations: 0.8927 MB / 0.7716 GB, free: 8.832 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.5859, allocations: 0.8217 MB / 0.7724 GB, free: 8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001363/0.5861, allocations: 36.44 kB / 0.7724 GB, free: 7.961 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.5862, allocations: 23.44 kB / 0.7724 GB, free: 7.938 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/0.5862, allocations: 0 / 0.7724 GB, free: 7.938 MB / 362.7 MB Notification: Performance of Templates: time 0.01136/0.5976, allocations: 2.156 MB / 0.7745 GB, free: 5.793 MB / 362.7 MB