Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002565/0.002569, allocations: 347.2 kB / 15.93 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.691/3.691, allocations: 341.5 MB / 358.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005909/0.005908, allocations: 218.1 kB / 397.9 MB, free: 4.961 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4822/0.4822, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.0004429, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09608, allocations: 48.7 MB / 0.6067 GB, free: 4.672 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.237/9.333, allocations: 2.797 GB / 3.404 GB, free: 72.41 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/9.333, allocations: 79.52 kB / 3.404 GB, free: 72.36 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.025/10.36, allocations: 184.2 MB / 3.584 GB, free: 68.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.104e-06/10.36, allocations: 0 / 3.584 GB, free: 68.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.335e-05/10.36, allocations: 7.859 kB / 3.584 GB, free: 68.04 MB / 442.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.005663/10.36, allocations: 1.16 MB / 3.585 GB, free: 67.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/10.36, allocations: 11.05 kB / 3.585 GB, free: 67.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/10.36, allocations: 27.08 kB / 3.585 GB, free: 67.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/10.36, allocations: 224.8 kB / 3.585 GB, free: 67.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/10.36, allocations: 131.1 kB / 3.586 GB, free: 66.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/10.36, allocations: 23.62 kB / 3.586 GB, free: 66.87 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007382/10.37, allocations: 319.7 kB / 3.586 GB, free: 66.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/10.37, allocations: 3.938 kB / 3.586 GB, free: 66.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/10.37, allocations: 11.88 kB / 3.586 GB, free: 66.69 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/10.37, allocations: 13.75 kB / 3.586 GB, free: 66.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/10.37, allocations: 0.7392 MB / 3.587 GB, free: 66.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/10.37, allocations: 1.176 MB / 3.588 GB, free: 65.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/10.37, allocations: 154.4 kB / 3.588 GB, free: 65.49 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/10.37, allocations: 79.62 kB / 3.588 GB, free: 65.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002959/10.37, allocations: 2.827 MB / 3.591 GB, free: 62.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/10.37, allocations: 41.75 kB / 3.591 GB, free: 62.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 2.575e-06/10.37, allocations: 0 / 3.591 GB, free: 62.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.000384/10.37, allocations: 111.2 kB / 3.591 GB, free: 62.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/10.37, allocations: 55.34 kB / 3.591 GB, free: 62.28 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/10.37, allocations: 226.8 kB / 3.591 GB, free: 62.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/10.37, allocations: 33.5 kB / 3.591 GB, free: 62.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/10.37, allocations: 213.3 kB / 3.591 GB, free: 61.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/10.37, allocations: 46.94 kB / 3.592 GB, free: 61.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.538e-05/10.37, allocations: 7.875 kB / 3.592 GB, free: 61.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.339e-05/10.37, allocations: 330.3 kB / 3.592 GB, free: 61.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/10.37, allocations: 47.69 kB / 3.592 GB, free: 61.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/10.37, allocations: 346.4 kB / 3.592 GB, free: 61.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/10.37, allocations: 105.2 kB / 3.592 GB, free: 61.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/10.37, allocations: 0 / 3.592 GB, free: 61.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007733/10.37, allocations: 382.2 kB / 3.593 GB, free: 60.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/10.37, allocations: 9.438 kB / 3.593 GB, free: 60.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/10.37, allocations: 10.44 kB / 3.593 GB, free: 60.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.128e-05/10.37, allocations: 14.28 kB / 3.593 GB, free: 60.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/10.38, allocations: 97.14 kB / 3.593 GB, free: 60.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.503e-05/10.38, allocations: 27.31 kB / 3.593 GB, free: 60.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/10.38, allocations: 58.81 kB / 3.593 GB, free: 60.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/10.38, allocations: 30.47 kB / 3.593 GB, free: 60.82 MB / 442.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.0001523/10.38, allocations: 147.2 kB / 3.593 GB, free: 60.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/10.38, allocations: 22.73 kB / 3.593 GB, free: 60.67 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004045/10.38, allocations: 148.9 kB / 3.593 GB, free: 60.58 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/10.38, allocations: 0 / 3.593 GB, free: 60.58 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/10.38, allocations: 0 / 3.593 GB, free: 60.58 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/10.38, allocations: 0 / 3.593 GB, free: 60.58 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005651/10.38, allocations: 412 kB / 3.594 GB, free: 60.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/10.38, allocations: 8.031 kB / 3.594 GB, free: 60.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/10.38, allocations: 15.75 kB / 3.594 GB, free: 60.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/10.38, allocations: 0 / 3.594 GB, free: 60.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/10.38, allocations: 7.969 kB / 3.594 GB, free: 60.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/10.38, allocations: 0 / 3.594 GB, free: 60.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/10.38, allocations: 0 / 3.594 GB, free: 60.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/10.38, allocations: 216.2 kB / 3.594 GB, free: 60.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.091e-05/10.38, allocations: 100.6 kB / 3.594 GB, free: 59.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.094e-05/10.38, allocations: 192 / 3.594 GB, free: 59.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/10.38, allocations: 7.719 kB / 3.594 GB, free: 59.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/10.38, allocations: 7.906 kB / 3.594 GB, free: 59.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/10.38, allocations: 14.09 kB / 3.594 GB, free: 59.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001471/10.38, allocations: 150.4 kB / 3.594 GB, free: 59.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.4e-07/10.38, allocations: 3.938 kB / 3.594 GB, free: 59.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008972/10.38, allocations: 119.9 kB / 3.594 GB, free: 59.75 MB / 442.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.0004974/10.38, allocations: 272.6 kB / 3.595 GB, free: 59.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003946/10.38, allocations: 165.2 kB / 3.595 GB, free: 59.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/10.38, allocations: 4.062 kB / 3.595 GB, free: 59.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/10.38, allocations: 23.94 kB / 3.595 GB, free: 59.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005793/10.38, allocations: 40.84 kB / 3.595 GB, free: 59.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1119/10.49, allocations: 41.2 MB / 3.635 GB, free: 21.97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/10.49, allocations: 0.7326 MB / 3.636 GB, free: 21.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003953/10.49, allocations: 52.14 kB / 3.636 GB, free: 21.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.631e-05/10.49, allocations: 31.42 kB / 3.636 GB, free: 21.14 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/10.49, allocations: 0 / 3.636 GB, free: 21.14 MB / 442.7 MB Notification: Performance of Templates: time 0.01229/10.51, allocations: 4.798 MB / 3.64 GB, free: 16.37 MB / 442.7 MB