Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.689/1.689, allocations: 171.1 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003651, allocations: 8 kB / 233.4 MB, free: 0.8086 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08526/0.08565, allocations: 38.76 MB / 272.1 MB, free: 9.969 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.241/8.326, allocations: 2.791 GB / 3.057 GB, free: 24.31 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/8.327, allocations: 97.61 kB / 3.057 GB, free: 24.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.392/12.72, allocations: 0.949 GB / 4.006 GB, free: 44.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.255e-06/12.72, allocations: 0 / 4.006 GB, free: 44.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.5e-05/12.72, allocations: 7.906 kB / 4.006 GB, free: 44.05 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00531/12.72, allocations: 1.224 MB / 4.007 GB, free: 43.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/12.72, allocations: 11.72 kB / 4.007 GB, free: 43.3 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001158/12.72, allocations: 58.19 kB / 4.007 GB, free: 43.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003471/12.72, allocations: 44.64 kB / 4.007 GB, free: 43.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/12.72, allocations: 279.7 kB / 4.008 GB, free: 42.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/12.72, allocations: 22.12 kB / 4.008 GB, free: 42.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/12.73, allocations: 28.62 kB / 4.008 GB, free: 42.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/12.73, allocations: 298.3 kB / 4.008 GB, free: 42.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/12.73, allocations: 0 / 4.008 GB, free: 42.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.112e-05/12.73, allocations: 11.84 kB / 4.008 GB, free: 42.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/12.73, allocations: 9.25 kB / 4.008 GB, free: 42.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004675/12.73, allocations: 197.9 kB / 4.008 GB, free: 42.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/12.73, allocations: 1.439 MB / 4.01 GB, free: 41.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/12.73, allocations: 170.7 kB / 4.01 GB, free: 41.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/12.73, allocations: 4.062 kB / 4.01 GB, free: 41.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/12.73, allocations: 33 kB / 4.01 GB, free: 41.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.486e-06/12.73, allocations: 0 / 4.01 GB, free: 41.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.003654/12.73, allocations: 1.007 MB / 4.011 GB, free: 40.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/12.73, allocations: 62.75 kB / 4.011 GB, free: 40.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/12.73, allocations: 235.4 kB / 4.011 GB, free: 40.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/12.73, allocations: 33.48 kB / 4.011 GB, free: 40.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/12.73, allocations: 233.7 kB / 4.011 GB, free: 40.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/12.73, allocations: 93.12 kB / 4.011 GB, free: 40.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/12.73, allocations: 7.094 kB / 4.011 GB, free: 40.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.015e-05/12.73, allocations: 329.9 kB / 4.012 GB, free: 39.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/12.73, allocations: 81.62 kB / 4.012 GB, free: 39.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/12.73, allocations: 173.4 kB / 4.012 GB, free: 39.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/12.73, allocations: 119.9 kB / 4.012 GB, free: 39.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/12.73, allocations: 3.969 kB / 4.012 GB, free: 39.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001008/12.74, allocations: 366.4 kB / 4.012 GB, free: 39.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/12.74, allocations: 12.12 kB / 4.012 GB, free: 39.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/12.74, allocations: 1.875 kB / 4.012 GB, free: 39.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004079/12.74, allocations: 69.41 kB / 4.012 GB, free: 39.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005011/12.74, allocations: 66.64 kB / 4.013 GB, free: 39.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/12.74, allocations: 2.676 MB / 4.015 GB, free: 36.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004986/12.74, allocations: 23.16 kB / 4.015 GB, free: 36.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/12.74, allocations: 15.81 kB / 4.015 GB, free: 36.71 MB / 362.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.0002471/12.74, allocations: 156.6 kB / 4.015 GB, free: 36.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/12.74, allocations: 26.72 kB / 4.015 GB, free: 36.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.405e-05/12.74, allocations: 37.81 kB / 4.015 GB, free: 36.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/12.74, allocations: 3.609 kB / 4.015 GB, free: 36.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/12.74, allocations: 3.781 kB / 4.015 GB, free: 36.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008035/12.74, allocations: 0.559 MB / 4.016 GB, free: 36.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/12.74, allocations: 0.7071 MB / 4.017 GB, free: 35.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/12.74, allocations: 3.516 kB / 4.017 GB, free: 35.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/12.74, allocations: 54.91 kB / 4.017 GB, free: 35.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004413/12.74, allocations: 54.64 kB / 4.017 GB, free: 35.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/12.74, allocations: 7.781 kB / 4.017 GB, free: 35.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/12.74, allocations: 1.394 MB / 4.018 GB, free: 34.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/12.74, allocations: 4.062 kB / 4.018 GB, free: 34.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/12.75, allocations: 486.6 kB / 4.019 GB, free: 33.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/12.75, allocations: 96.77 kB / 4.019 GB, free: 33.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.794e-05/12.75, allocations: 11.97 kB / 4.019 GB, free: 33.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/12.75, allocations: 17.58 kB / 4.019 GB, free: 33.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/12.75, allocations: 18.33 kB / 4.019 GB, free: 33.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/12.75, allocations: 11.78 kB / 4.019 GB, free: 33.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002499/12.75, allocations: 184.2 kB / 4.019 GB, free: 33.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.5e-07/12.75, allocations: 0 / 4.019 GB, free: 33.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007897/12.75, allocations: 124.2 kB / 4.019 GB, free: 33.55 MB / 362.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.001649/12.75, allocations: 1.274 MB / 4.02 GB, free: 32.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/12.75, allocations: 476.5 kB / 4.021 GB, free: 31.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/12.75, allocations: 0 / 4.021 GB, free: 31.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005194/12.75, allocations: 235.1 kB / 4.021 GB, free: 31.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/12.75, allocations: 155.3 kB / 4.021 GB, free: 31.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004378/12.76, allocations: 3.701 MB / 4.025 GB, free: 27.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/12.76, allocations: 0.7674 MB / 4.025 GB, free: 27.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/12.76, allocations: 87.12 kB / 4.026 GB, free: 27.13 MB / 362.7 MB Notification: Performance of SimCode: time 2.434e-06/12.76, allocations: 0 / 4.026 GB, free: 27.13 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.812/15.57, allocations: 8.498 MB / 4.034 GB, free: 22.34 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat