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.DryAir1.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.DryAir1,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.109/2.109, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.0004871, allocations: 12 kB / 264 MB, free: 3.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2896, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.023/2.313, allocations: 0.6361 GB / 0.9375 GB, free: 87.05 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/2.313, allocations: 82.52 kB / 0.9375 GB, free: 87.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953/4.266, allocations: 473.6 MB / 1.4 GB, free: 98.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.807e-06/4.266, allocations: 3.906 kB / 1.4 GB, free: 98.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.903e-05/4.266, allocations: 4.469 kB / 1.4 GB, free: 98.97 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.002099/4.268, allocations: 0.7462 MB / 1.401 GB, free: 98.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/4.268, allocations: 7.938 kB / 1.401 GB, free: 98.49 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001657/4.269, allocations: 63 kB / 1.401 GB, free: 98.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006573/4.269, allocations: 56.56 kB / 1.401 GB, free: 98.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005984/4.27, allocations: 285.3 kB / 1.401 GB, free: 98.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/4.27, allocations: 25.03 kB / 1.401 GB, free: 98.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-05/4.27, allocations: 28.97 kB / 1.401 GB, free: 98.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007766/4.271, allocations: 329.2 kB / 1.402 GB, free: 98.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/4.271, allocations: 4 kB / 1.402 GB, free: 98.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/4.271, allocations: 13.25 kB / 1.402 GB, free: 98.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/4.271, allocations: 10.73 kB / 1.402 GB, free: 98.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004922/4.271, allocations: 207.5 kB / 1.402 GB, free: 98.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01764/4.289, allocations: 5.47 MB / 1.407 GB, free: 94.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/4.29, allocations: 175.9 kB / 1.407 GB, free: 94.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01488/4.305, allocations: 3.453 MB / 1.411 GB, free: 93.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/4.305, allocations: 30.75 kB / 1.411 GB, free: 93.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.286e-06/4.305, allocations: 3.844 kB / 1.411 GB, free: 93.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.008781/4.313, allocations: 1.375 MB / 1.412 GB, free: 92.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/4.314, allocations: 61.59 kB / 1.412 GB, free: 92.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/4.314, allocations: 235.1 kB / 1.412 GB, free: 92.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/4.314, allocations: 33.42 kB / 1.412 GB, free: 92.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/4.314, allocations: 194 kB / 1.413 GB, free: 92.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.625e-05/4.314, allocations: 89.39 kB / 1.413 GB, free: 92.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/4.314, allocations: 7.625 kB / 1.413 GB, free: 92.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.843e-05/4.314, allocations: 338.8 kB / 1.413 GB, free: 91.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/4.315, allocations: 96.31 kB / 1.413 GB, free: 91.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/4.315, allocations: 178.8 kB / 1.413 GB, free: 91.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/4.315, allocations: 121.5 kB / 1.413 GB, free: 91.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/4.315, allocations: 3.906 kB / 1.413 GB, free: 91.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001075/4.316, allocations: 385.5 kB / 1.414 GB, free: 91.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/4.316, allocations: 6.781 kB / 1.414 GB, free: 91.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/4.316, allocations: 6.016 kB / 1.414 GB, free: 91.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007594/4.324, allocations: 455.3 kB / 1.414 GB, free: 91.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000535/4.325, allocations: 64.75 kB / 1.414 GB, free: 91.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/4.327, allocations: 1.882 MB / 1.416 GB, free: 89.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/4.327, allocations: 21.7 kB / 1.416 GB, free: 89.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/4.327, allocations: 10.47 kB / 1.416 GB, free: 89.95 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: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002741/4.327, allocations: 168.3 kB / 1.416 GB, free: 89.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.803e-05/4.327, allocations: 29.08 kB / 1.416 GB, free: 89.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/4.329, allocations: 493.5 kB / 1.417 GB, free: 89.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/4.329, allocations: 6.594 kB / 1.417 GB, free: 89.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/4.329, allocations: 4.938 kB / 1.417 GB, free: 89.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008692/4.33, allocations: 0.7182 MB / 1.417 GB, free: 89.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/4.332, allocations: 0.954 MB / 1.418 GB, free: 88.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/4.332, allocations: 0.75 kB / 1.418 GB, free: 88.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/4.332, allocations: 45.09 kB / 1.418 GB, free: 88.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00269/4.335, allocations: 307.8 kB / 1.419 GB, free: 88.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.554e-05/4.335, allocations: 7.688 kB / 1.419 GB, free: 88.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000605/4.335, allocations: 0.6426 MB / 1.419 GB, free: 88.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/4.335, allocations: 0 / 1.419 GB, free: 88.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/4.337, allocations: 0.7313 MB / 1.42 GB, free: 88.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/4.337, allocations: 107.9 kB / 1.42 GB, free: 88.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.71e-05/4.337, allocations: 7.016 kB / 1.42 GB, free: 88.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/4.338, allocations: 18.98 kB / 1.42 GB, free: 88.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/4.338, allocations: 17.92 kB / 1.42 GB, free: 88.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/4.338, allocations: 14.42 kB / 1.42 GB, free: 88.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002555/4.338, allocations: 179.5 kB / 1.42 GB, free: 88 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/4.338, allocations: 3.469 kB / 1.42 GB, free: 88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001273/4.339, allocations: 215 kB / 1.421 GB, free: 87.97 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003565/4.343, allocations: 1.711 MB / 1.422 GB, free: 87.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001223/4.344, allocations: 450.1 kB / 1.423 GB, free: 86.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/4.344, allocations: 2.438 kB / 1.423 GB, free: 86.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009337/4.345, allocations: 241.8 kB / 1.423 GB, free: 86.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/4.347, allocations: 157.9 kB / 1.423 GB, free: 86.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005168/4.352, allocations: 3.875 MB / 1.427 GB, free: 84.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/4.352, allocations: 0.7842 MB / 1.428 GB, free: 83.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004329/4.353, allocations: 50.92 kB / 1.428 GB, free: 83.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/4.353, allocations: 108.6 kB / 1.428 GB, free: 83.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/4.353, allocations: 0 / 1.428 GB, free: 83.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04841/4.401, allocations: 14.52 MB / 1.442 GB, free: 75.47 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002949/4.402, allocations: 206.4 kB / 1.442 GB, free: 75.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.369/7.77, allocations: 4 kB / 1.442 GB, free: 75.22 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat