Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(Modelica): time 2.444/2.444, allocations: 194.9 MB / 211.7 MB, free: 2.871 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005044/0.0005047, allocations: 8 kB / 264.5 MB, free: 12.9 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1083, allocations: 44.51 MB / 309.1 MB, free: 328 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.134, allocations: 362.6 MB / 0.6559 GB, free: 18.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003521/1.134, allocations: 96.11 kB / 0.656 GB, free: 18.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5213/1.656, allocations: 81.33 MB / 0.7354 GB, free: 114.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.656, allocations: 0 / 0.7354 GB, free: 114.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.263e-05/1.656, allocations: 8 kB / 0.7354 GB, free: 114.5 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001257/1.657, allocations: 0.6206 MB / 0.736 GB, free: 113.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.657, allocations: 12.03 kB / 0.7361 GB, free: 113.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003442/1.657, allocations: 39.61 kB / 0.7361 GB, free: 113.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/1.658, allocations: 278.9 kB / 0.7364 GB, free: 113.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/1.658, allocations: 20.56 kB / 0.7364 GB, free: 113.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.055e-05/1.658, allocations: 24 kB / 0.7364 GB, free: 113.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000617/1.658, allocations: 295.7 kB / 0.7367 GB, free: 113.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/1.659, allocations: 3.984 kB / 0.7367 GB, free: 113.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/1.659, allocations: 12 kB / 0.7367 GB, free: 113.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/1.659, allocations: 11.94 kB / 0.7367 GB, free: 113.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004649/1.659, allocations: 189.6 kB / 0.7369 GB, free: 112.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/1.661, allocations: 1.428 MB / 0.7383 GB, free: 111.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/1.661, allocations: 183.1 kB / 0.7385 GB, free: 111.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/1.662, allocations: 8.266 kB / 0.7385 GB, free: 111.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/1.662, allocations: 38.69 kB / 0.7385 GB, free: 111.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.075e-06/1.662, allocations: 0 / 0.7385 GB, free: 111.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.003554/1.665, allocations: 1.014 MB / 0.7395 GB, free: 110 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/1.665, allocations: 51.41 kB / 0.7395 GB, free: 109.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/1.666, allocations: 262.5 kB / 0.7398 GB, free: 109.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/1.666, allocations: 33.7 kB / 0.7398 GB, free: 109.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.944e-05/1.666, allocations: 176.2 kB / 0.74 GB, free: 109.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.137e-05/1.666, allocations: 98.58 kB / 0.7401 GB, free: 109.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/1.666, allocations: 8 kB / 0.7401 GB, free: 109.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.539e-05/1.666, allocations: 330.8 kB / 0.7404 GB, free: 109 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/1.666, allocations: 87.91 kB / 0.7405 GB, free: 108.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/1.666, allocations: 175.1 kB / 0.7407 GB, free: 108.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/1.667, allocations: 115.9 kB / 0.7408 GB, free: 108.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.667, allocations: 0 / 0.7408 GB, free: 108.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009455/1.668, allocations: 382.8 kB / 0.7411 GB, free: 108.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.668, allocations: 4 kB / 0.7411 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.668, allocations: 4 kB / 0.7411 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003909/1.668, allocations: 69.59 kB / 0.7412 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/1.669, allocations: 67.91 kB / 0.7413 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/1.671, allocations: 2.682 MB / 0.7439 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/1.671, allocations: 32.03 kB / 0.7439 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/1.672, allocations: 8 kB / 0.7439 GB, free: 105.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002232/1.672, allocations: 153.7 kB / 0.7441 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.779e-05/1.672, allocations: 27.72 kB / 0.7441 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.857e-05/1.672, allocations: 34.17 kB / 0.7441 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.672, allocations: 4 kB / 0.7441 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.672, allocations: 0 / 0.7441 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007681/1.673, allocations: 0.563 MB / 0.7447 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/1.674, allocations: 0.695 MB / 0.7454 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/1.674, allocations: 3.953 kB / 0.7454 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/1.675, allocations: 52 kB / 0.7454 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004491/1.675, allocations: 60.69 kB / 0.7455 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/1.675, allocations: 8 kB / 0.7455 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/1.676, allocations: 1.39 MB / 0.7468 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.676, allocations: 0 / 0.7468 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009757/1.677, allocations: 474.1 kB / 0.7473 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/1.677, allocations: 104.8 kB / 0.7474 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.673e-05/1.678, allocations: 8 kB / 0.7474 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/1.678, allocations: 19.91 kB / 0.7474 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/1.678, allocations: 16.05 kB / 0.7474 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/1.678, allocations: 15.98 kB / 0.7475 GB, free: 101.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002313/1.678, allocations: 185.8 kB / 0.7476 GB, free: 101 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.678, allocations: 3.938 kB / 0.7476 GB, free: 101 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006512/1.679, allocations: 99.98 kB / 0.7477 GB, free: 100.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002717/1.679, allocations: 167 kB / 0.7479 GB, free: 100.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009292/1.68, allocations: 477.7 kB / 0.7483 GB, free: 100.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.68, allocations: 4 kB / 0.7484 GB, free: 100.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004929/1.681, allocations: 230.6 kB / 0.7486 GB, free: 99.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/1.682, allocations: 156.4 kB / 0.7487 GB, free: 99.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/1.684, allocations: 0.8203 MB / 0.7495 GB, free: 98.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/1.684, allocations: 0.7764 MB / 0.7503 GB, free: 98.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000464/1.684, allocations: 50.95 kB / 0.7503 GB, free: 98.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.629e-05/1.685, allocations: 23.44 kB / 0.7504 GB, free: 98.08 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/1.685, allocations: 0 / 0.7504 GB, free: 98.08 MB / 410.7 MB Notification: Performance of Templates: time 0.01577/1.7, allocations: 5.979 MB / 0.7562 GB, free: 92.11 MB / 410.7 MB