Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.753/1.753, allocations: 171.2 MB / 186.1 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003625, allocations: 11.94 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09762/0.09801, allocations: 38.77 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.35/19.45, allocations: 6.524 GB / 6.789 GB, free: 62.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/19.45, allocations: 81.14 kB / 6.789 GB, free: 61.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638/24.09, allocations: 0.8379 GB / 7.627 GB, free: 32.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.956e-06/24.09, allocations: 0 / 7.627 GB, free: 32.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.786e-05/24.09, allocations: 12.5 kB / 7.627 GB, free: 32.51 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01421/24.1, allocations: 2.934 MB / 7.63 GB, free: 30.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/24.1, allocations: 10.56 kB / 7.63 GB, free: 30.94 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002797/24.1, allocations: 79.05 kB / 7.63 GB, free: 30.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004247/24.1, allocations: 60.33 kB / 7.63 GB, free: 30.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007301/24.1, allocations: 359.2 kB / 7.631 GB, free: 30.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/24.1, allocations: 31.91 kB / 7.631 GB, free: 30.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/24.1, allocations: 48.3 kB / 7.631 GB, free: 30.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/24.1, allocations: 0.5237 MB / 7.631 GB, free: 30.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/24.1, allocations: 0 / 7.631 GB, free: 30.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-05/24.1, allocations: 20.31 kB / 7.631 GB, free: 30.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/24.1, allocations: 12.41 kB / 7.631 GB, free: 30.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/24.11, allocations: 0.6297 MB / 7.632 GB, free: 30.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02213/24.13, allocations: 11.67 MB / 7.643 GB, free: 19.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/24.13, allocations: 0.6478 MB / 7.644 GB, free: 19.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03639/24.17, allocations: 20.09 MB / 7.664 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/24.17, allocations: 44.03 kB / 7.664 GB, free: 15.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 3.617e-06/24.17, allocations: 1.594 kB / 7.664 GB, free: 15.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.009485/24.18, allocations: 2.08 MB / 7.666 GB, free: 14.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/24.18, allocations: 58.59 kB / 7.666 GB, free: 14.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004724/24.18, allocations: 291 kB / 7.666 GB, free: 14.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000114/24.18, allocations: 38.86 kB / 7.666 GB, free: 14.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/24.18, allocations: 200.6 kB / 7.666 GB, free: 14.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/24.18, allocations: 187.2 kB / 7.666 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/24.18, allocations: 13.72 kB / 7.666 GB, free: 14.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/24.18, allocations: 352.8 kB / 7.667 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00057/24.18, allocations: 215.8 kB / 7.667 GB, free: 13.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008917/24.18, allocations: 304 kB / 7.667 GB, free: 13.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000853/24.18, allocations: 267.2 kB / 7.667 GB, free: 13.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/24.18, allocations: 0 / 7.667 GB, free: 13.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002509/24.18, allocations: 0.6979 MB / 7.668 GB, free: 13.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/24.18, allocations: 5.375 kB / 7.668 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/24.18, allocations: 9.375 kB / 7.668 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007224/24.18, allocations: 114.7 kB / 7.668 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009779/24.18, allocations: 119.6 kB / 7.668 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003268/24.19, allocations: 3.28 MB / 7.672 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/24.19, allocations: 49.38 kB / 7.672 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.527e-05/24.19, allocations: 30.11 kB / 7.672 GB, free: 10.57 MB / 426.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.0004175/24.19, allocations: 194.4 kB / 7.672 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004077/24.19, allocations: 45.69 kB / 7.672 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/24.19, allocations: 0.7095 MB / 7.673 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/24.19, allocations: 11.14 kB / 7.673 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/24.19, allocations: 0 / 7.673 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001677/24.19, allocations: 0.7911 MB / 7.673 GB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003473/24.2, allocations: 1.401 MB / 7.675 GB, free: 9.594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/24.2, allocations: 2.844 kB / 7.675 GB, free: 9.594 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009011/24.2, allocations: 120 kB / 7.675 GB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001426/24.2, allocations: 150.5 kB / 7.675 GB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.582e-05/24.2, allocations: 25.91 kB / 7.675 GB, free: 9.566 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005716/24.2, allocations: 0.6514 MB / 7.676 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/24.2, allocations: 2.406 kB / 7.676 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002753/24.2, allocations: 1.009 MB / 7.677 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/24.2, allocations: 125.7 kB / 7.677 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/24.2, allocations: 22.88 kB / 7.677 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007978/24.2, allocations: 37.25 kB / 7.677 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-05/24.2, allocations: 34.33 kB / 7.677 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.957e-05/24.2, allocations: 36.89 kB / 7.677 GB, free: 8.578 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003951/24.2, allocations: 239.7 kB / 7.677 GB, free: 8.492 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/24.2, allocations: 0 / 7.677 GB, free: 8.492 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009752/24.21, allocations: 1.967 MB / 7.679 GB, free: 8.102 MB / 426.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.02012/24.23, allocations: 4.85 MB / 7.684 GB, free: 6.422 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002269/24.24, allocations: 0.8037 MB / 7.685 GB, free: 6.172 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/24.24, allocations: 3.938 kB / 7.685 GB, free: 6.168 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009289/24.24, allocations: 309 kB / 7.685 GB, free: 6.145 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/24.24, allocations: 287.9 kB / 7.685 GB, free: 6.109 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/24.25, allocations: 5.324 MB / 7.69 GB, free: 19.28 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/24.25, allocations: 0.8581 MB / 7.691 GB, free: 18.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009968/24.26, allocations: 134 kB / 7.691 GB, free: 18.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/24.26, allocations: 163.2 kB / 7.691 GB, free: 18.54 MB / 442.7 MB Notification: Performance of SimCode: time 9.42e-07/24.26, allocations: 0 / 7.691 GB, free: 18.54 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5523/24.81, allocations: 73.57 MB / 7.763 GB, free: 62.83 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002663/24.81, allocations: 254.1 kB / 7.764 GB, free: 62.54 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.317/31.13, allocations: 7 kB / 7.764 GB, free: 62.54 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat does not exist to compare? outputFormat=mat