Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002703/0.002707, allocations: 361.2 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.245/4.245, allocations: 388.9 MB / 405.6 MB, free: 9.582 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.003523/0.003523, allocations: 232.6 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.6289/0.6289, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005163/0.0005166, allocations: 19.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.1001, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5262/0.6264, allocations: 82.19 MB / 0.7603 GB, free: 3.129 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.6268, allocations: 72.03 kB / 0.7604 GB, free: 3.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04533/0.6722, allocations: 6.467 MB / 0.7667 GB, free: 13.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.338e-06/0.6722, allocations: 3.938 kB / 0.7667 GB, free: 13.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.571e-05/0.6723, allocations: 4 kB / 0.7667 GB, free: 13.59 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001646/0.674, allocations: 0.7246 MB / 0.7674 GB, free: 12.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.519e-05/0.6741, allocations: 15.97 kB / 0.7675 GB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.6743, allocations: 35.53 kB / 0.7675 GB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009081/0.6753, allocations: 289.2 kB / 0.7678 GB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.6753, allocations: 11.23 kB / 0.7678 GB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.128e-05/0.6754, allocations: 22.58 kB / 0.7678 GB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005299/0.676, allocations: 107.4 kB / 0.7679 GB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.973e-05/0.6761, allocations: 11.92 kB / 0.7679 GB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.6761, allocations: 3.562 kB / 0.7679 GB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.6761, allocations: 0 / 0.7679 GB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004337/0.6766, allocations: 79.27 kB / 0.768 GB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.6781, allocations: 471.4 kB / 0.7684 GB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004813/0.6787, allocations: 101.8 kB / 0.7685 GB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.6789, allocations: 38.91 kB / 0.7686 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.582e-05/0.679, allocations: 4 kB / 0.7686 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.6791, allocations: 30.56 kB / 0.7686 GB, free: 11.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 4.588e-06/0.6791, allocations: 0 / 0.7686 GB, free: 11.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002481/0.6816, allocations: 395.9 kB / 0.769 GB, free: 11.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/0.6817, allocations: 55.41 kB / 0.769 GB, free: 11.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.6831, allocations: 461.2 kB / 0.7695 GB, free: 10.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.135e-05/0.6832, allocations: 33.2 kB / 0.7695 GB, free: 10.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.6835, allocations: 175.6 kB / 0.7697 GB, free: 10.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.6836, allocations: 53.48 kB / 0.7697 GB, free: 10.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.6837, allocations: 7.312 kB / 0.7697 GB, free: 10.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002431/0.6839, allocations: 347.4 kB / 0.7701 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/0.6844, allocations: 61.59 kB / 0.7701 GB, free: 10.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/0.6848, allocations: 69.78 kB / 0.7702 GB, free: 10.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.6853, allocations: 204.1 kB / 0.7704 GB, free: 10.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.6854, allocations: 0 / 0.7704 GB, free: 10.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001276/0.6867, allocations: 367.8 kB / 0.7707 GB, free: 9.719 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.6869, allocations: 147.3 kB / 0.7709 GB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.6869, allocations: 4 kB / 0.7709 GB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.687, allocations: 3.984 kB / 0.7709 GB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.6874, allocations: 31.98 kB / 0.7709 GB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.6874, allocations: 4 kB / 0.7709 GB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.6877, allocations: 11.44 kB / 0.7709 GB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.6878, allocations: 11.98 kB / 0.7709 GB, free: 9.488 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.0004244/0.6883, allocations: 168.1 kB / 0.7711 GB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.6885, allocations: 35.53 kB / 0.7711 GB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.6899, allocations: 257 kB / 0.7714 GB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.6899, allocations: 0 / 0.7714 GB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.6899, allocations: 0 / 0.7714 GB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.69, allocations: 4 kB / 0.7714 GB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.6924, allocations: 0.6525 MB / 0.772 GB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.6924, allocations: 8 kB / 0.772 GB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.6928, allocations: 31.98 kB / 0.7721 GB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.6929, allocations: 4 kB / 0.7721 GB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.6929, allocations: 2.688 kB / 0.7721 GB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.6929, allocations: 0 / 0.7721 GB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.693, allocations: 4 kB / 0.7721 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.6941, allocations: 309.6 kB / 0.7724 GB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002766/0.6945, allocations: 123.7 kB / 0.7725 GB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-05/0.6946, allocations: 3.75 kB / 0.7725 GB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.6949, allocations: 11.98 kB / 0.7725 GB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-05/0.695, allocations: 19.34 kB / 0.7725 GB, free: 8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.6951, allocations: 4 kB / 0.7725 GB, free: 7.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001028/0.6961, allocations: 344.2 kB / 0.7729 GB, free: 7.734 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.694e-06/0.6962, allocations: 0 / 0.7729 GB, free: 7.734 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009907/0.6972, allocations: 94.8 kB / 0.7729 GB, free: 7.648 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 (17): * Single equations (assignments): 17 * 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.003988/0.7012, allocations: 0.7587 MB / 0.7737 GB, free: 7.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.7026, allocations: 432.4 kB / 0.7741 GB, free: 6.672 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.7027, allocations: 0 / 0.7741 GB, free: 6.672 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004252/0.7031, allocations: 77.72 kB / 0.7742 GB, free: 6.613 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009663/0.7041, allocations: 42.7 kB / 0.7742 GB, free: 6.582 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.7067, allocations: 0.6566 MB / 0.7749 GB, free: 5.961 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006979/0.7075, allocations: 0.7933 MB / 0.7756 GB, free: 5.148 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003669/0.7079, allocations: 45.36 kB / 0.7757 GB, free: 5.102 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.7081, allocations: 31.3 kB / 0.7757 GB, free: 5.074 MB / 362.7 MB Notification: Performance of SimCode: time 1.894e-06/0.7081, allocations: 0 / 0.7757 GB, free: 5.074 MB / 362.7 MB Notification: Performance of Templates: time 0.01678/0.7249, allocations: 3.148 MB / 0.7788 GB, free: 1.945 MB / 362.7 MB