Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002666/0.002666, allocations: 362.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.105/4.105, allocations: 388.9 MB / 405.6 MB, free: 9.594 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.003581/0.003581, allocations: 228.7 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.5523/0.5523, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007293/0.0007296, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.15, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.693/9.843, allocations: 2.909 GB / 3.589 GB, free: 112.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/9.843, allocations: 75.47 kB / 3.589 GB, free: 112.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.067/10.91, allocations: 187.6 MB / 3.772 GB, free: 87.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.455e-06/10.91, allocations: 0 / 3.772 GB, free: 87.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.731e-05/10.91, allocations: 3.312 kB / 3.772 GB, free: 87.87 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.006041/10.92, allocations: 1.168 MB / 3.773 GB, free: 87.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/10.92, allocations: 11.81 kB / 3.773 GB, free: 87.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/10.92, allocations: 26.66 kB / 3.773 GB, free: 87.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/10.92, allocations: 229 kB / 3.773 GB, free: 86.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/10.92, allocations: 129.7 kB / 3.773 GB, free: 86.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/10.92, allocations: 24.28 kB / 3.774 GB, free: 86.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007802/10.92, allocations: 327.5 kB / 3.774 GB, free: 86.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/10.92, allocations: 3.938 kB / 3.774 GB, free: 86.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/10.92, allocations: 10.41 kB / 3.774 GB, free: 86.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.393e-05/10.92, allocations: 10.86 kB / 3.774 GB, free: 86.56 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/10.92, allocations: 0.7337 MB / 3.775 GB, free: 86.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/10.92, allocations: 1.173 MB / 3.776 GB, free: 85.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004687/10.92, allocations: 165.2 kB / 3.776 GB, free: 85.37 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/10.92, allocations: 82.64 kB / 3.776 GB, free: 85.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003323/10.92, allocations: 2.82 MB / 3.779 GB, free: 82.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/10.93, allocations: 38.56 kB / 3.779 GB, free: 82.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 3.186e-06/10.93, allocations: 0 / 3.779 GB, free: 82.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004224/10.93, allocations: 119.7 kB / 3.779 GB, free: 82.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/10.93, allocations: 51.41 kB / 3.779 GB, free: 82.17 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/10.93, allocations: 227.8 kB / 3.779 GB, free: 82.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/10.93, allocations: 25.7 kB / 3.779 GB, free: 81.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/10.93, allocations: 215.9 kB / 3.779 GB, free: 81.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/10.93, allocations: 42.5 kB / 3.779 GB, free: 81.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.808e-05/10.93, allocations: 8 kB / 3.779 GB, free: 81.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.329e-05/10.93, allocations: 333.9 kB / 3.78 GB, free: 81.44 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/10.93, allocations: 43.48 kB / 3.78 GB, free: 81.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/10.93, allocations: 337 kB / 3.78 GB, free: 81.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/10.93, allocations: 106 kB / 3.78 GB, free: 80.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/10.93, allocations: 3.688 kB / 3.78 GB, free: 80.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000776/10.93, allocations: 381.9 kB / 3.781 GB, free: 80.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/10.93, allocations: 7.938 kB / 3.781 GB, free: 80.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/10.93, allocations: 11.75 kB / 3.781 GB, free: 80.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.609e-05/10.93, allocations: 19.78 kB / 3.781 GB, free: 80.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/10.93, allocations: 98.08 kB / 3.781 GB, free: 80.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/10.93, allocations: 19.52 kB / 3.781 GB, free: 80.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/10.93, allocations: 59.16 kB / 3.781 GB, free: 80.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/10.93, allocations: 31.67 kB / 3.781 GB, free: 80.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0001678/10.93, allocations: 158.6 kB / 3.781 GB, free: 80.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/10.93, allocations: 18.09 kB / 3.781 GB, free: 80.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000422/10.93, allocations: 144.7 kB / 3.781 GB, free: 80.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/10.93, allocations: 2.688 kB / 3.781 GB, free: 80.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/10.93, allocations: 0 / 3.781 GB, free: 80.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/10.93, allocations: 0 / 3.781 GB, free: 80.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005832/10.93, allocations: 416 kB / 3.781 GB, free: 80.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/10.93, allocations: 3.938 kB / 3.781 GB, free: 80.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/10.93, allocations: 19.75 kB / 3.782 GB, free: 80.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/10.93, allocations: 4.094 kB / 3.782 GB, free: 80.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/10.93, allocations: 0 / 3.782 GB, free: 80.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/10.93, allocations: 7.922 kB / 3.782 GB, free: 80.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/10.93, allocations: 0 / 3.782 GB, free: 80.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/10.93, allocations: 202 kB / 3.782 GB, free: 79.92 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.631e-05/10.93, allocations: 108.2 kB / 3.782 GB, free: 79.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/10.93, allocations: 6.734 kB / 3.782 GB, free: 79.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/10.93, allocations: 3.531 kB / 3.782 GB, free: 79.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/10.93, allocations: 15.47 kB / 3.782 GB, free: 79.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/10.93, allocations: 3.688 kB / 3.782 GB, free: 79.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001605/10.93, allocations: 155.8 kB / 3.782 GB, free: 79.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/10.93, allocations: 0 / 3.782 GB, free: 79.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009465/10.93, allocations: 115.2 kB / 3.782 GB, free: 79.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0005603/10.93, allocations: 272.3 kB / 3.782 GB, free: 79.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004875/10.93, allocations: 172.2 kB / 3.783 GB, free: 79.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/10.93, allocations: 0 / 3.783 GB, free: 79.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.645e-05/10.93, allocations: 27.23 kB / 3.783 GB, free: 79.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000674/10.93, allocations: 42.5 kB / 3.783 GB, free: 79.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1223/11.06, allocations: 42.02 MB / 3.824 GB, free: 67.47 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/11.06, allocations: 0.7335 MB / 3.824 GB, free: 66.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004074/11.06, allocations: 52.17 kB / 3.824 GB, free: 66.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.689e-05/11.06, allocations: 28.84 kB / 3.824 GB, free: 66.73 MB / 490.7 MB Notification: Performance of SimCode: time 1.633e-06/11.06, allocations: 0 / 3.824 GB, free: 66.73 MB / 490.7 MB Notification: Performance of Templates: time 0.01274/11.07, allocations: 4.799 MB / 3.829 GB, free: 66.22 MB / 490.7 MB