Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test24") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0027/0.0027, allocations: 362.9 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.215/4.215, 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.003586/0.003587, allocations: 226.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.5641/0.5641, allocations: 80.03 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007524/0.0007527, allocations: 8 kB / 0.6265 GB, free: 96.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1115, allocations: 54.86 MB / 0.6801 GB, free: 41.7 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4644/0.5759, allocations: 80.97 MB / 0.7592 GB, free: 4.383 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.5763, allocations: 77.52 kB / 0.7592 GB, free: 4.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01103/0.5873, allocations: 2.892 MB / 0.762 GB, free: 1.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5874, allocations: 0 / 0.762 GB, free: 1.855 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.5874, allocations: 0 / 0.762 GB, free: 1.855 MB / 346.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.0005304/0.588, allocations: 419.5 kB / 0.7624 GB, free: 1.398 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.588, allocations: 12.83 kB / 0.7625 GB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.5881, allocations: 15.86 kB / 0.7625 GB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.5883, allocations: 189.7 kB / 0.7627 GB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.5883, allocations: 0 / 0.7627 GB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.5884, allocations: 7.562 kB / 0.7627 GB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.5886, allocations: 64.61 kB / 0.7627 GB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.5886, allocations: 3.906 kB / 0.7627 GB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.5886, allocations: 0 / 0.7627 GB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.5887, allocations: 3.953 kB / 0.7627 GB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/0.5889, allocations: 50.66 kB / 0.7628 GB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.5893, allocations: 281.8 kB / 0.7631 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.5895, allocations: 44.12 kB / 0.7631 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.5896, allocations: 31.25 kB / 0.7631 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.5897, allocations: 7.953 kB / 0.7631 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.5897, allocations: 36.31 kB / 0.7632 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.874e-06/0.5897, allocations: 0 / 0.7632 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.001161/0.5909, allocations: 252.8 kB / 0.7634 GB, free: 384 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.5909, allocations: 59.34 kB / 0.7635 GB, free: 312 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.5911, allocations: 147.7 kB / 0.7636 GB, free: 164 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.5911, allocations: 25.7 kB / 0.7636 GB, free: 132 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.5912, allocations: 98.23 kB / 0.7637 GB, free: 40 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.5912, allocations: 23.64 kB / 0.7637 GB, free: 16 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-06/0.5912, allocations: 3.438 kB / 0.7637 GB, free: 16 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.5914, allocations: 318.3 kB / 0.7641 GB, free: 15.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.5917, allocations: 42.92 kB / 0.7641 GB, free: 15.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.5919, allocations: 39.09 kB / 0.7641 GB, free: 15.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.5922, allocations: 75.17 kB / 0.7642 GB, free: 15.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5922, allocations: 0 / 0.7642 GB, free: 15.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005503/0.5927, allocations: 163.5 kB / 0.7644 GB, free: 15.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/0.5928, allocations: 33.7 kB / 0.7644 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5928, allocations: 3.938 kB / 0.7644 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.5929, allocations: 0 / 0.7644 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.5931, allocations: 19.98 kB / 0.7644 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.5931, allocations: 8 kB / 0.7644 GB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.5932, allocations: 14.98 kB / 0.7644 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.5932, allocations: 4 kB / 0.7644 GB, free: 15.32 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 (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.0001436/0.5934, allocations: 116.9 kB / 0.7645 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.5935, allocations: 11.86 kB / 0.7646 GB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005963/0.5941, allocations: 156.4 kB / 0.7647 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5941, allocations: 0 / 0.7647 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5941, allocations: 0 / 0.7647 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5941, allocations: 0 / 0.7647 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000871/0.595, allocations: 411.8 kB / 0.7651 GB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.595, allocations: 0 / 0.7651 GB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.5952, allocations: 27.98 kB / 0.7651 GB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.5952, allocations: 3.938 kB / 0.7651 GB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.5952, allocations: 3.938 kB / 0.7651 GB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.5952, allocations: 0 / 0.7651 GB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5953, allocations: 0 / 0.7651 GB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005672/0.5958, allocations: 226.5 kB / 0.7654 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.931e-05/0.5959, allocations: 89 kB / 0.7654 GB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.596, allocations: 3.812 kB / 0.7654 GB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.5961, allocations: 15.98 kB / 0.7655 GB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.5962, allocations: 8 kB / 0.7655 GB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.5962, allocations: 0 / 0.7655 GB, free: 14.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.5963, allocations: 122.2 kB / 0.7656 GB, free: 14.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5963, allocations: 0 / 0.7656 GB, free: 14.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003252/0.5967, allocations: 19.94 kB / 0.7656 GB, free: 14.11 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 (7): * Single equations (assignments): 7 * 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.0009223/0.5976, allocations: 289.3 kB / 0.7659 GB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005513/0.5982, allocations: 149.7 kB / 0.766 GB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5982, allocations: 0 / 0.766 GB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.5984, allocations: 54.78 kB / 0.7661 GB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.5988, allocations: 26.72 kB / 0.7661 GB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005961/0.5994, allocations: 217.7 kB / 0.7663 GB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.5998, allocations: 0.6965 MB / 0.767 GB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000115/0.5999, allocations: 8.172 kB / 0.767 GB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.6, allocations: 15.44 kB / 0.767 GB, free: 12.73 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6, allocations: 0 / 0.767 GB, free: 12.73 MB / 362.7 MB Notification: Performance of Templates: time 0.004677/0.6046, allocations: 0.9538 MB / 0.7679 GB, free: 11.8 MB / 362.7 MB