Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.011/2.011, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003665, allocations: 12 kB / 264.1 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1005, allocations: 44.5 MB / 308.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.866/8.967, allocations: 2.901 GB / 3.203 GB, free: 98.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004142/8.967, allocations: 86.23 kB / 3.203 GB, free: 98.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.49/13.46, allocations: 0.9808 GB / 4.184 GB, free: 53.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.565e-06/13.46, allocations: 2.875 kB / 4.184 GB, free: 53.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.794e-05/13.46, allocations: 10.72 kB / 4.184 GB, free: 53.82 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.005145/13.46, allocations: 1.228 MB / 4.185 GB, free: 53.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/13.46, allocations: 11.09 kB / 4.185 GB, free: 53.1 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/13.46, allocations: 65.98 kB / 4.185 GB, free: 53.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000359/13.46, allocations: 45.41 kB / 4.185 GB, free: 53.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/13.46, allocations: 271.3 kB / 4.185 GB, free: 52.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/13.46, allocations: 16.06 kB / 4.185 GB, free: 52.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.459e-05/13.46, allocations: 31.88 kB / 4.185 GB, free: 52.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006503/13.46, allocations: 300 kB / 4.185 GB, free: 52.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/13.46, allocations: 0 / 4.185 GB, free: 52.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/13.46, allocations: 13.81 kB / 4.185 GB, free: 52.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/13.46, allocations: 14.14 kB / 4.185 GB, free: 52.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004778/13.46, allocations: 196.5 kB / 4.186 GB, free: 52.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/13.47, allocations: 1.429 MB / 4.187 GB, free: 51.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/13.47, allocations: 172.5 kB / 4.187 GB, free: 51.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.734e-05/13.47, allocations: 6.641 kB / 4.187 GB, free: 51.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/13.47, allocations: 34.69 kB / 4.187 GB, free: 51.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.725e-06/13.47, allocations: 0 / 4.187 GB, free: 51.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.0037/13.47, allocations: 1.01 MB / 4.188 GB, free: 51.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/13.47, allocations: 54.91 kB / 4.188 GB, free: 51.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/13.47, allocations: 233.9 kB / 4.189 GB, free: 51.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/13.47, allocations: 32.48 kB / 4.189 GB, free: 50.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/13.47, allocations: 235.6 kB / 4.189 GB, free: 50.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.635e-05/13.47, allocations: 97.94 kB / 4.189 GB, free: 50.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/13.47, allocations: 2.812 kB / 4.189 GB, free: 50.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.282e-05/13.47, allocations: 329.4 kB / 4.189 GB, free: 50.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/13.47, allocations: 82.39 kB / 4.189 GB, free: 50.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/13.47, allocations: 177.1 kB / 4.189 GB, free: 50.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/13.47, allocations: 108.2 kB / 4.19 GB, free: 50.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/13.47, allocations: 3.656 kB / 4.19 GB, free: 50.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001004/13.47, allocations: 377.5 kB / 4.19 GB, free: 50.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/13.47, allocations: 7.188 kB / 4.19 GB, free: 50.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/13.47, allocations: 3.875 kB / 4.19 GB, free: 50.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003933/13.47, allocations: 67.25 kB / 4.19 GB, free: 50.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/13.47, allocations: 68.66 kB / 4.19 GB, free: 50.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/13.48, allocations: 2.68 MB / 4.193 GB, free: 47.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/13.48, allocations: 25.61 kB / 4.193 GB, free: 47.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/13.48, allocations: 15.22 kB / 4.193 GB, free: 47.69 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.0002331/13.48, allocations: 151 kB / 4.193 GB, free: 47.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.817e-05/13.48, allocations: 31.16 kB / 4.193 GB, free: 47.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.39e-05/13.48, allocations: 35.36 kB / 4.193 GB, free: 47.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/13.48, allocations: 3.719 kB / 4.193 GB, free: 47.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/13.48, allocations: 3.594 kB / 4.193 GB, free: 47.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008108/13.48, allocations: 0.5625 MB / 4.193 GB, free: 47.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/13.48, allocations: 0.7015 MB / 4.194 GB, free: 46.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/13.48, allocations: 0 / 4.194 GB, free: 46.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/13.48, allocations: 49.73 kB / 4.194 GB, free: 46.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004517/13.48, allocations: 53.67 kB / 4.194 GB, free: 46.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/13.48, allocations: 7.656 kB / 4.194 GB, free: 46.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/13.48, allocations: 1.396 MB / 4.196 GB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/13.48, allocations: 3.875 kB / 4.196 GB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/13.48, allocations: 486.6 kB / 4.196 GB, free: 45.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/13.48, allocations: 102.3 kB / 4.196 GB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.739e-05/13.48, allocations: 7.562 kB / 4.196 GB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/13.48, allocations: 22.34 kB / 4.196 GB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/13.48, allocations: 14.81 kB / 4.196 GB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/13.48, allocations: 11.5 kB / 4.196 GB, free: 45.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00024/13.48, allocations: 185.4 kB / 4.196 GB, free: 45 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.2e-07/13.48, allocations: 3.938 kB / 4.196 GB, free: 45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007981/13.49, allocations: 119.5 kB / 4.197 GB, free: 44.98 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.001608/13.49, allocations: 1.281 MB / 4.198 GB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001014/13.49, allocations: 463.3 kB / 4.198 GB, free: 43.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/13.49, allocations: 3.938 kB / 4.198 GB, free: 43.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005304/13.49, allocations: 238.1 kB / 4.198 GB, free: 43.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/13.49, allocations: 156.3 kB / 4.199 GB, free: 43.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/13.49, allocations: 3.702 MB / 4.202 GB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/13.49, allocations: 0.7711 MB / 4.203 GB, free: 40 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/13.5, allocations: 87.67 kB / 4.203 GB, free: 39.94 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/13.5, allocations: 3.906 kB / 4.203 GB, free: 39.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.28/16.78, allocations: 8.499 MB / 4.211 GB, free: 39.38 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat