Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.007/2.007, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003663, allocations: 8 kB / 264 MB, free: 3.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3162, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.27/20.58, allocations: 6.53 GB / 6.831 GB, free: 100.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/20.58, allocations: 81.5 kB / 6.831 GB, free: 100.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.452/25.04, allocations: 0.841 GB / 7.672 GB, free: 26.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.105e-06/25.04, allocations: 0 / 7.672 GB, free: 26.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.706e-05/25.04, allocations: 15.66 kB / 7.672 GB, free: 26.46 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01759/25.05, allocations: 2.931 MB / 7.675 GB, free: 24.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/25.05, allocations: 11.38 kB / 7.675 GB, free: 24.76 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003453/25.05, allocations: 81.47 kB / 7.675 GB, free: 24.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006313/25.06, allocations: 59.86 kB / 7.675 GB, free: 24.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009532/25.06, allocations: 366.7 kB / 7.675 GB, free: 24.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/25.06, allocations: 35.78 kB / 7.675 GB, free: 24.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/25.06, allocations: 43.62 kB / 7.676 GB, free: 24.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/25.06, allocations: 0.5076 MB / 7.676 GB, free: 24.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.57e-05/25.06, allocations: 3.375 kB / 7.676 GB, free: 24.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/25.06, allocations: 18.81 kB / 7.676 GB, free: 24.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/25.06, allocations: 9.312 kB / 7.676 GB, free: 24.42 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002945/25.06, allocations: 0.6394 MB / 7.677 GB, free: 24.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02165/25.08, allocations: 11.85 MB / 7.688 GB, free: 13.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/25.09, allocations: 0.6475 MB / 7.689 GB, free: 13.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03675/25.12, allocations: 20.08 MB / 7.708 GB, free: 24.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.912e-05/25.12, allocations: 46.44 kB / 7.709 GB, free: 24.66 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 4.148e-06/25.12, allocations: 0 / 7.709 GB, free: 24.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=55): time 0.009608/25.13, allocations: 2.075 MB / 7.711 GB, free: 24.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/25.13, allocations: 65.72 kB / 7.711 GB, free: 23.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/25.13, allocations: 285.6 kB / 7.711 GB, free: 23.88 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.924e-05/25.13, allocations: 40.08 kB / 7.711 GB, free: 23.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/25.13, allocations: 203.5 kB / 7.711 GB, free: 23.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/25.13, allocations: 194.4 kB / 7.711 GB, free: 23.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/25.13, allocations: 9.125 kB / 7.711 GB, free: 23.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/25.13, allocations: 349.1 kB / 7.712 GB, free: 23.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/25.13, allocations: 213.8 kB / 7.712 GB, free: 23.27 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009078/25.14, allocations: 306.8 kB / 7.712 GB, free: 23.18 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008615/25.14, allocations: 266.6 kB / 7.712 GB, free: 23.17 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/25.14, allocations: 3.406 kB / 7.712 GB, free: 23.17 MB / 474.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002495/25.14, allocations: 0.6954 MB / 7.713 GB, free: 23.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/25.14, allocations: 5.688 kB / 7.713 GB, free: 23.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/25.14, allocations: 2.469 kB / 7.713 GB, free: 23.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007246/25.14, allocations: 113.6 kB / 7.713 GB, free: 23.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009322/25.14, allocations: 124.1 kB / 7.713 GB, free: 23.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/25.14, allocations: 3.288 MB / 7.717 GB, free: 19.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008098/25.14, allocations: 39.33 kB / 7.717 GB, free: 19.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.064e-05/25.14, allocations: 27.34 kB / 7.717 GB, free: 19.91 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004304/25.15, allocations: 195 kB / 7.717 GB, free: 19.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004227/25.15, allocations: 51.62 kB / 7.717 GB, free: 19.77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/25.15, allocations: 0.7125 MB / 7.718 GB, free: 19.67 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/25.15, allocations: 3.688 kB / 7.718 GB, free: 19.67 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/25.15, allocations: 0 / 7.718 GB, free: 19.67 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001787/25.15, allocations: 0.799 MB / 7.718 GB, free: 19.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003604/25.15, allocations: 1.407 MB / 7.72 GB, free: 18.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/25.15, allocations: 0 / 7.72 GB, free: 18.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009167/25.15, allocations: 123.2 kB / 7.72 GB, free: 18.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001445/25.16, allocations: 145.9 kB / 7.72 GB, free: 18.89 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.89e-05/25.16, allocations: 29.14 kB / 7.72 GB, free: 18.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005553/25.16, allocations: 0.6444 MB / 7.721 GB, free: 18.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/25.16, allocations: 3.812 kB / 7.721 GB, free: 18.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002719/25.16, allocations: 1.017 MB / 7.722 GB, free: 18.01 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/25.16, allocations: 123.6 kB / 7.722 GB, free: 17.89 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/25.16, allocations: 13.66 kB / 7.722 GB, free: 17.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008001/25.16, allocations: 38.41 kB / 7.722 GB, free: 17.89 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.519e-05/25.16, allocations: 41.72 kB / 7.722 GB, free: 17.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.594e-05/25.16, allocations: 32.61 kB / 7.722 GB, free: 17.89 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003818/25.16, allocations: 241.9 kB / 7.722 GB, free: 17.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.4e-07/25.16, allocations: 0 / 7.722 GB, free: 17.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009966/25.17, allocations: 1.971 MB / 7.724 GB, free: 17.41 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (volume.medium.p,volume.medium.Xi[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 (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02033/25.19, allocations: 4.836 MB / 7.729 GB, free: 15.65 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002328/25.19, allocations: 0.809 MB / 7.73 GB, free: 15.39 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/25.19, allocations: 4.125 kB / 7.73 GB, free: 15.39 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009145/25.2, allocations: 316.2 kB / 7.73 GB, free: 15.36 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/25.2, allocations: 287.5 kB / 7.73 GB, free: 15.33 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/25.21, allocations: 5.331 MB / 7.735 GB, free: 12.48 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/25.21, allocations: 0.8522 MB / 7.736 GB, free: 11.78 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001024/25.21, allocations: 128.9 kB / 7.736 GB, free: 11.76 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/25.21, allocations: 165.3 kB / 7.736 GB, free: 11.75 MB / 474.7 MB Notification: Performance of SimCode: time 1.032e-06/25.21, allocations: 3.938 kB / 7.736 GB, free: 11.75 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6125/25.83, allocations: 73.64 MB / 7.808 GB, free: 46.12 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000278/25.83, allocations: 238.9 kB / 7.809 GB, free: 45.84 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.392/32.22, allocations: 0 / 7.809 GB, free: 45.84 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat does not exist to compare? outputFormat=mat