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.Incompressible.Glycol47.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.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.607/1.607, allocations: 171.1 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003587, allocations: 12 kB / 233.4 MB, free: 2.914 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1011, allocations: 38.77 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7427/0.8439, allocations: 180.5 MB / 452.6 MB, free: 91.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003905/0.8444, allocations: 90.92 kB / 452.7 MB, free: 91.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9371/1.781, allocations: 196.7 MB / 0.6341 GB, free: 74.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.787e-06/1.781, allocations: 0 / 0.6341 GB, free: 74.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.722e-05/1.782, allocations: 8.375 kB / 0.6341 GB, free: 74.43 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002731/1.784, allocations: 1.003 MB / 0.6351 GB, free: 73.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/1.784, allocations: 15.97 kB / 0.6351 GB, free: 73.37 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001667/1.785, allocations: 62.55 kB / 0.6352 GB, free: 73.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004045/1.785, allocations: 43.61 kB / 0.6352 GB, free: 73.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005649/1.786, allocations: 282.4 kB / 0.6355 GB, free: 72.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/1.786, allocations: 20.56 kB / 0.6355 GB, free: 72.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/1.786, allocations: 24 kB / 0.6355 GB, free: 72.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007001/1.786, allocations: 342.1 kB / 0.6359 GB, free: 72.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/1.786, allocations: 0 / 0.6359 GB, free: 72.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.657e-05/1.786, allocations: 12 kB / 0.6359 GB, free: 72.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/1.786, allocations: 12 kB / 0.6359 GB, free: 72.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004307/1.787, allocations: 193.1 kB / 0.6361 GB, free: 72.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002562/1.79, allocations: 2.062 MB / 0.6381 GB, free: 70.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/1.79, allocations: 190.4 kB / 0.6383 GB, free: 69.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002388/1.79, allocations: 253.4 kB / 0.6385 GB, free: 69.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/1.79, allocations: 38.56 kB / 0.6386 GB, free: 69.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 3.807e-06/1.79, allocations: 0 / 0.6386 GB, free: 69.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.003808/1.794, allocations: 1.023 MB / 0.6395 GB, free: 68.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/1.794, allocations: 59.34 kB / 0.6396 GB, free: 68.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/1.795, allocations: 229.8 kB / 0.6398 GB, free: 68.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/1.795, allocations: 33.7 kB / 0.6399 GB, free: 68.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/1.795, allocations: 240.9 kB / 0.6401 GB, free: 67.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.786e-05/1.795, allocations: 109.4 kB / 0.6402 GB, free: 67.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/1.795, allocations: 8 kB / 0.6402 GB, free: 67.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.257e-05/1.795, allocations: 322.8 kB / 0.6405 GB, free: 67.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/1.795, allocations: 84.72 kB / 0.6406 GB, free: 67.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/1.795, allocations: 170.6 kB / 0.6408 GB, free: 67.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/1.796, allocations: 111.9 kB / 0.6409 GB, free: 67.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.796, allocations: 4 kB / 0.6409 GB, free: 67.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008794/1.797, allocations: 365.6 kB / 0.6412 GB, free: 66.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.797, allocations: 4.625 kB / 0.6412 GB, free: 66.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/1.797, allocations: 4.312 kB / 0.6412 GB, free: 66.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000621/1.797, allocations: 96.78 kB / 0.6413 GB, free: 66.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/1.798, allocations: 67.91 kB / 0.6414 GB, free: 66.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005939/1.798, allocations: 0.6461 MB / 0.642 GB, free: 65.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/1.799, allocations: 23.91 kB / 0.642 GB, free: 65.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/1.799, allocations: 20 kB / 0.642 GB, free: 65.76 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * 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: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002465/1.799, allocations: 169.6 kB / 0.6422 GB, free: 65.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.518e-05/1.799, allocations: 27.72 kB / 0.6422 GB, free: 65.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009581/1.8, allocations: 363.9 kB / 0.6426 GB, free: 65.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/1.8, allocations: 8 kB / 0.6426 GB, free: 65.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.8, allocations: 0 / 0.6426 GB, free: 65.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007609/1.801, allocations: 0.5707 MB / 0.6431 GB, free: 64.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/1.802, allocations: 0.7424 MB / 0.6439 GB, free: 63.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.803, allocations: 3.938 kB / 0.6439 GB, free: 63.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/1.803, allocations: 31.97 kB / 0.6439 GB, free: 63.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007055/1.803, allocations: 104.7 kB / 0.644 GB, free: 63.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/1.804, allocations: 11.95 kB / 0.644 GB, free: 63.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005924/1.804, allocations: 0.6421 MB / 0.6446 GB, free: 62.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.804, allocations: 0 / 0.6446 GB, free: 62.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/1.805, allocations: 0.4986 MB / 0.6451 GB, free: 62.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/1.805, allocations: 112.8 kB / 0.6452 GB, free: 62.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.653e-05/1.805, allocations: 8 kB / 0.6452 GB, free: 62.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/1.806, allocations: 15.91 kB / 0.6453 GB, free: 62.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/1.806, allocations: 19.97 kB / 0.6453 GB, free: 62.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/1.806, allocations: 16.05 kB / 0.6453 GB, free: 62.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002615/1.806, allocations: 198 kB / 0.6455 GB, free: 61.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.806, allocations: 0 / 0.6455 GB, free: 61.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000873/1.807, allocations: 159.9 kB / 0.6456 GB, free: 61.81 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (18): * Single equations (assignments): 17 * 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: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001693/1.809, allocations: 1.304 MB / 0.6469 GB, free: 60.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007367/1.81, allocations: 247.4 kB / 0.6471 GB, free: 60.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.81, allocations: 4.625 kB / 0.6472 GB, free: 60.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/1.81, allocations: 123.9 kB / 0.6473 GB, free: 60.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/1.811, allocations: 152.3 kB / 0.6474 GB, free: 59.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/1.815, allocations: 3.361 MB / 0.6507 GB, free: 56.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/1.816, allocations: 0.7727 MB / 0.6515 GB, free: 55.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002788/1.816, allocations: 99.41 kB / 0.6515 GB, free: 55.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.493e-06/1.816, allocations: 4 kB / 0.6516 GB, free: 55.6 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.787/4.603, allocations: 8.684 MB / 0.66 GB, free: 46.91 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.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat