Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.MoistAir,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.952/1.952, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004829, allocations: 8 kB / 264.1 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.104, allocations: 44.5 MB / 308.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.06/11.17, allocations: 3.617 GB / 3.918 GB, free: 63 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/11.17, allocations: 94.88 kB / 3.918 GB, free: 62.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.87/13.04, allocations: 322.4 MB / 4.233 GB, free: 64.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/13.04, allocations: 0 / 4.233 GB, free: 64.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.114e-05/13.04, allocations: 9.688 kB / 4.233 GB, free: 64.24 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.005735/13.04, allocations: 1.598 MB / 4.235 GB, free: 63.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/13.04, allocations: 10.25 kB / 4.235 GB, free: 63.15 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001909/13.04, allocations: 84.47 kB / 4.235 GB, free: 63.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004156/13.04, allocations: 56.73 kB / 4.235 GB, free: 63.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000679/13.04, allocations: 354.8 kB / 4.235 GB, free: 62.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.182e-05/13.04, allocations: 35.53 kB / 4.235 GB, free: 62.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/13.04, allocations: 40.22 kB / 4.235 GB, free: 62.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/13.05, allocations: 0.4993 MB / 4.236 GB, free: 62.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/13.05, allocations: 3.375 kB / 4.236 GB, free: 62.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/13.05, allocations: 19.78 kB / 4.236 GB, free: 62.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/13.05, allocations: 10.22 kB / 4.236 GB, free: 62.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/13.05, allocations: 0.5986 MB / 4.236 GB, free: 62.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006584/13.05, allocations: 2.172 MB / 4.238 GB, free: 60.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/13.06, allocations: 0.5598 MB / 4.239 GB, free: 60.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009286/13.06, allocations: 0.7032 MB / 4.24 GB, free: 59.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/13.06, allocations: 41.66 kB / 4.24 GB, free: 59.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 4.678e-06/13.06, allocations: 0 / 4.24 GB, free: 59.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.03818/13.1, allocations: 4.112 MB / 4.244 GB, free: 55.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/13.1, allocations: 63.84 kB / 4.244 GB, free: 55.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006252/13.1, allocations: 265.8 kB / 4.244 GB, free: 54.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002224/13.1, allocations: 37.7 kB / 4.244 GB, free: 54.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/13.1, allocations: 247.6 kB / 4.244 GB, free: 54.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/13.1, allocations: 232.5 kB / 4.245 GB, free: 54.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.392e-05/13.1, allocations: 8 kB / 4.245 GB, free: 54.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/13.1, allocations: 338.8 kB / 4.245 GB, free: 54.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/13.1, allocations: 313.1 kB / 4.245 GB, free: 53.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/13.1, allocations: 383.8 kB / 4.246 GB, free: 53.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/13.1, allocations: 351.4 kB / 4.246 GB, free: 53.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/13.1, allocations: 0 / 4.246 GB, free: 53.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.005832/13.11, allocations: 0.9978 MB / 4.247 GB, free: 52.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/13.11, allocations: 12.62 kB / 4.247 GB, free: 52.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/13.11, allocations: 0 / 4.247 GB, free: 52.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003875/13.11, allocations: 350 kB / 4.247 GB, free: 51.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/13.12, allocations: 123.8 kB / 4.247 GB, free: 51.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006491/13.12, allocations: 3.542 MB / 4.251 GB, free: 47.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/13.12, allocations: 56.02 kB / 4.251 GB, free: 47.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/13.12, allocations: 27.98 kB / 4.251 GB, free: 47.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006104/13.12, allocations: 197.6 kB / 4.251 GB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/13.12, allocations: 47.53 kB / 4.251 GB, free: 47.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/13.14, allocations: 1.376 MB / 4.252 GB, free: 46.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/13.14, allocations: 11.94 kB / 4.252 GB, free: 46.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/13.14, allocations: 0 / 4.252 GB, free: 46.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008835/13.15, allocations: 1.434 MB / 4.254 GB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004799/13.15, allocations: 1.719 MB / 4.256 GB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/13.15, allocations: 0 / 4.256 GB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/13.15, allocations: 122.6 kB / 4.256 GB, free: 42.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003316/13.16, allocations: 400.1 kB / 4.256 GB, free: 42.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/13.16, allocations: 23.98 kB / 4.256 GB, free: 42.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/13.16, allocations: 0.8763 MB / 4.257 GB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/13.16, allocations: 3.953 kB / 4.257 GB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008046/13.17, allocations: 1.701 MB / 4.259 GB, free: 39.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/13.17, allocations: 120.6 kB / 4.259 GB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/13.17, allocations: 16 kB / 4.259 GB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/13.17, allocations: 63.86 kB / 4.259 GB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/13.17, allocations: 40.5 kB / 4.259 GB, free: 39.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.756e-05/13.17, allocations: 27.97 kB / 4.259 GB, free: 39.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003186/13.17, allocations: 229.9 kB / 4.259 GB, free: 39.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/13.17, allocations: 0 / 4.259 GB, free: 39.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002383/13.17, allocations: 0.5307 MB / 4.26 GB, free: 38.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01126/13.18, allocations: 3.42 MB / 4.263 GB, free: 35.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003071/13.19, allocations: 0.9944 MB / 4.264 GB, free: 34.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/13.19, allocations: 3.938 kB / 4.264 GB, free: 34.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001412/13.19, allocations: 423.2 kB / 4.264 GB, free: 33.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/13.19, allocations: 286.7 kB / 4.265 GB, free: 33.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/13.2, allocations: 4.665 MB / 4.269 GB, free: 28.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/13.2, allocations: 0.8726 MB / 4.27 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004961/13.2, allocations: 167.4 kB / 4.27 GB, free: 27.73 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/13.2, allocations: 0 / 4.27 GB, free: 27.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.72/16.92, allocations: 22.97 MB / 4.293 GB, free: 4.797 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat