Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.03/2.03, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003597, allocations: 8 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.326, allocations: 44.51 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.346, allocations: 334 MB / 0.6275 GB, free: 87.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/1.346, allocations: 85.2 kB / 0.6276 GB, free: 87.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2749/1.621, allocations: 87.55 MB / 0.7131 GB, free: 6.875 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.621, allocations: 0 / 0.7131 GB, free: 6.875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.13e-05/1.621, allocations: 8 kB / 0.7131 GB, free: 6.867 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009542/1.622, allocations: 0.5544 MB / 0.7136 GB, free: 6.266 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.622, allocations: 12.03 kB / 0.7136 GB, free: 6.254 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.066e-05/1.622, allocations: 58.55 kB / 0.7137 GB, free: 6.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003307/1.623, allocations: 47.56 kB / 0.7137 GB, free: 6.141 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/1.623, allocations: 278.8 kB / 0.714 GB, free: 5.828 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/1.623, allocations: 20.56 kB / 0.714 GB, free: 5.809 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/1.623, allocations: 31.94 kB / 0.714 GB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006498/1.624, allocations: 293.4 kB / 0.7143 GB, free: 5.473 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/1.624, allocations: 0 / 0.7143 GB, free: 5.473 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.291e-05/1.624, allocations: 12 kB / 0.7143 GB, free: 5.461 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/1.624, allocations: 4 kB / 0.7143 GB, free: 5.457 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000446/1.624, allocations: 198.1 kB / 0.7145 GB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/1.626, allocations: 1.293 MB / 0.7158 GB, free: 3.844 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/1.627, allocations: 183.2 kB / 0.716 GB, free: 3.656 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/1.627, allocations: 166.4 kB / 0.7161 GB, free: 3.457 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/1.627, allocations: 38.75 kB / 0.7162 GB, free: 3.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.865e-06/1.627, allocations: 0 / 0.7162 GB, free: 3.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.003572/1.631, allocations: 1.042 MB / 0.7172 GB, free: 2.273 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/1.631, allocations: 59.36 kB / 0.7172 GB, free: 2.203 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/1.631, allocations: 237.6 kB / 0.7175 GB, free: 1.965 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/1.631, allocations: 33.7 kB / 0.7175 GB, free: 1.926 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/1.631, allocations: 172.2 kB / 0.7176 GB, free: 1.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.273e-05/1.632, allocations: 94.64 kB / 0.7177 GB, free: 1.656 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/1.632, allocations: 8 kB / 0.7177 GB, free: 1.648 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.253e-05/1.632, allocations: 340.3 kB / 0.7181 GB, free: 1.309 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/1.632, allocations: 83.91 kB / 0.7182 GB, free: 1.227 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/1.632, allocations: 172 kB / 0.7183 GB, free: 1.016 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/1.632, allocations: 107.9 kB / 0.7184 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.632, allocations: 4 kB / 0.7184 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008793/1.633, allocations: 439.8 kB / 0.7188 GB, free: 456 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/1.633, allocations: 8 kB / 0.7188 GB, free: 448 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.633, allocations: 4 kB / 0.7189 GB, free: 444 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002124/1.634, allocations: 50.06 kB / 0.7189 GB, free: 388 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/1.634, allocations: 75.89 kB / 0.719 GB, free: 312 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2697/1.904, allocations: 2.563 MB / 0.7215 GB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/1.904, allocations: 23.56 kB / 0.7215 GB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-05/1.904, allocations: 15.61 kB / 0.7215 GB, free: 120.1 MB / 410.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.0002905/1.905, allocations: 155.7 kB / 0.7217 GB, free: 120 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.885e-05/1.905, allocations: 29.97 kB / 0.7217 GB, free: 120 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000906/1.906, allocations: 354.6 kB / 0.722 GB, free: 119.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/1.906, allocations: 5.688 kB / 0.722 GB, free: 119.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.906, allocations: 0.875 kB / 0.722 GB, free: 119.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007135/1.907, allocations: 0.6114 MB / 0.7226 GB, free: 119.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/1.908, allocations: 0.756 MB / 0.7234 GB, free: 118.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/1.908, allocations: 0.5625 kB / 0.7234 GB, free: 118.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005719/1.909, allocations: 55.52 kB / 0.7234 GB, free: 118.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/1.909, allocations: 22.75 kB / 0.7234 GB, free: 118.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/1.909, allocations: 8.328 kB / 0.7235 GB, free: 118.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009874/1.91, allocations: 1.285 MB / 0.7247 GB, free: 117.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.91, allocations: 1.312 kB / 0.7247 GB, free: 117.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/1.911, allocations: 0.5328 MB / 0.7252 GB, free: 117.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/1.911, allocations: 103.7 kB / 0.7253 GB, free: 117.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.799e-05/1.911, allocations: 9.141 kB / 0.7253 GB, free: 117.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000451/1.912, allocations: 24.03 kB / 0.7254 GB, free: 117.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/1.912, allocations: 20.25 kB / 0.7254 GB, free: 117.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.69e-05/1.912, allocations: 15.88 kB / 0.7254 GB, free: 117.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002759/1.912, allocations: 184.9 kB / 0.7256 GB, free: 117.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.4e-07/1.912, allocations: 0 / 0.7256 GB, free: 117.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007557/1.913, allocations: 117.6 kB / 0.7257 GB, free: 117.2 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): 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.001568/1.914, allocations: 1.273 MB / 0.7269 GB, free: 116.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000947/1.915, allocations: 443.1 kB / 0.7273 GB, free: 116.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.915, allocations: 4.875 kB / 0.7274 GB, free: 116.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004138/1.916, allocations: 217.7 kB / 0.7276 GB, free: 116 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/1.917, allocations: 160.4 kB / 0.7277 GB, free: 116 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003936/1.921, allocations: 3.844 MB / 0.7315 GB, free: 113.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/1.922, allocations: 0.7745 MB / 0.7322 GB, free: 112.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005335/1.922, allocations: 57.58 kB / 0.7323 GB, free: 112.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/1.922, allocations: 91.64 kB / 0.7324 GB, free: 112.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/1.922, allocations: 0 / 0.7324 GB, free: 112.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04191/1.964, allocations: 10.57 MB / 0.7427 GB, free: 112.1 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/1.965, allocations: 223.6 kB / 0.7429 GB, free: 111.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.805/4.77, allocations: 0 / 0.7429 GB, free: 111.8 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat