Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Air.SimpleAir,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.682/1.682, allocations: 171.1 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003763, allocations: 12 kB / 233.4 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08651/0.08693, allocations: 38.76 MB / 272.1 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.298, allocations: 328.6 MB / 0.5867 GB, free: 109.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/1.299, allocations: 85.73 kB / 0.5868 GB, free: 109.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2824/1.581, allocations: 87.58 MB / 0.6723 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.434e-06/1.581, allocations: 0 / 0.6723 GB, free: 42.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.398e-05/1.581, allocations: 8 kB / 0.6723 GB, free: 42.19 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001018/1.582, allocations: 0.5583 MB / 0.6728 GB, free: 41.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/1.582, allocations: 8.031 kB / 0.6729 GB, free: 41.58 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/1.582, allocations: 62.53 kB / 0.6729 GB, free: 41.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003414/1.583, allocations: 39.62 kB / 0.673 GB, free: 41.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005136/1.583, allocations: 294.8 kB / 0.6732 GB, free: 41.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/1.583, allocations: 16.56 kB / 0.6733 GB, free: 41.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-05/1.583, allocations: 24 kB / 0.6733 GB, free: 41.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006754/1.584, allocations: 293.4 kB / 0.6736 GB, free: 40.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/1.584, allocations: 0 / 0.6736 GB, free: 40.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.256e-05/1.584, allocations: 15.94 kB / 0.6736 GB, free: 40.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/1.584, allocations: 8 kB / 0.6736 GB, free: 40.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004527/1.585, allocations: 198.1 kB / 0.6738 GB, free: 40.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/1.587, allocations: 1.293 MB / 0.675 GB, free: 39.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005661/1.587, allocations: 179.2 kB / 0.6752 GB, free: 38.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/1.588, allocations: 166.4 kB / 0.6754 GB, free: 38.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/1.588, allocations: 42.75 kB / 0.6754 GB, free: 38.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.838e-06/1.588, allocations: 7.922 kB / 0.6754 GB, free: 38.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.003571/1.591, allocations: 1.023 MB / 0.6764 GB, free: 37.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/1.591, allocations: 63.34 kB / 0.6765 GB, free: 37.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/1.592, allocations: 233.7 kB / 0.6767 GB, free: 37.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/1.592, allocations: 33.7 kB / 0.6767 GB, free: 37.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.917e-05/1.592, allocations: 176.2 kB / 0.6769 GB, free: 37.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.178e-05/1.592, allocations: 94.64 kB / 0.677 GB, free: 36.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/1.592, allocations: 4 kB / 0.677 GB, free: 36.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.415e-05/1.592, allocations: 348.2 kB / 0.6773 GB, free: 36.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/1.592, allocations: 79.75 kB / 0.6774 GB, free: 36.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/1.592, allocations: 179.8 kB / 0.6776 GB, free: 36.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/1.593, allocations: 111.9 kB / 0.6777 GB, free: 36.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.593, allocations: 0 / 0.6777 GB, free: 36.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008728/1.594, allocations: 439.8 kB / 0.6781 GB, free: 35.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.594, allocations: 4 kB / 0.6781 GB, free: 35.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.594, allocations: 4 kB / 0.6781 GB, free: 35.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/1.594, allocations: 54.03 kB / 0.6781 GB, free: 35.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005503/1.594, allocations: 75.91 kB / 0.6782 GB, free: 35.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/1.596, allocations: 2.572 MB / 0.6807 GB, free: 32.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/1.597, allocations: 24.03 kB / 0.6808 GB, free: 32.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/1.597, allocations: 19.98 kB / 0.6808 GB, free: 32.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002534/1.597, allocations: 153.7 kB / 0.6809 GB, free: 32.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.087e-05/1.597, allocations: 23.72 kB / 0.6809 GB, free: 32.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007271/1.598, allocations: 362.6 kB / 0.6813 GB, free: 32.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/1.598, allocations: 4 kB / 0.6813 GB, free: 32.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.598, allocations: 0 / 0.6813 GB, free: 32.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005864/1.599, allocations: 0.6153 MB / 0.6819 GB, free: 31.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/1.6, allocations: 0.7586 MB / 0.6826 GB, free: 30.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.6, allocations: 3.984 kB / 0.6826 GB, free: 30.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005004/1.601, allocations: 55.91 kB / 0.6827 GB, free: 30.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/1.601, allocations: 20.84 kB / 0.6827 GB, free: 30.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/1.601, allocations: 8 kB / 0.6827 GB, free: 30.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008523/1.602, allocations: 1.288 MB / 0.684 GB, free: 29.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/1.602, allocations: 256 / 0.684 GB, free: 29.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008463/1.603, allocations: 0.5196 MB / 0.6845 GB, free: 28.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/1.603, allocations: 104.8 kB / 0.6846 GB, free: 28.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/1.603, allocations: 8 kB / 0.6846 GB, free: 28.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/1.603, allocations: 27.95 kB / 0.6846 GB, free: 28.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/1.603, allocations: 19.97 kB / 0.6846 GB, free: 28.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/1.603, allocations: 11.98 kB / 0.6846 GB, free: 28.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002406/1.604, allocations: 186 kB / 0.6848 GB, free: 28.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.853e-06/1.604, allocations: 0 / 0.6848 GB, free: 28.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006887/1.604, allocations: 119.9 kB / 0.6849 GB, free: 28.04 MB / 362.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): 24 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001419/1.606, allocations: 1.274 MB / 0.6862 GB, free: 26.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008655/1.607, allocations: 449.8 kB / 0.6866 GB, free: 26.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.607, allocations: 4.062 kB / 0.6866 GB, free: 26.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003867/1.607, allocations: 214.6 kB / 0.6868 GB, free: 26.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/1.609, allocations: 161.5 kB / 0.687 GB, free: 25.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003876/1.612, allocations: 3.854 MB / 0.6907 GB, free: 21.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/1.613, allocations: 0.7726 MB / 0.6915 GB, free: 21.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005179/1.613, allocations: 66.8 kB / 0.6916 GB, free: 21.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/1.614, allocations: 91.41 kB / 0.6916 GB, free: 20.92 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/1.614, allocations: 0 / 0.6916 GB, free: 20.92 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04812/1.662, allocations: 10.56 MB / 0.702 GB, free: 10.41 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007379/1.663, allocations: 226.7 kB / 0.7022 GB, free: 10.17 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.802/4.465, allocations: 3.938 kB / 0.7022 GB, free: 10.16 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat