Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.396/2.396, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006088/0.0006089, allocations: 16 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.35, allocations: 54.86 MB / 369.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.3/19.65, allocations: 6.537 GB / 6.898 GB, free: 108.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003938/19.65, allocations: 88.33 kB / 6.898 GB, free: 108.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.46/21.11, allocations: 247.1 MB / 7.139 GB, free: 64.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.256e-06/21.11, allocations: 0 / 7.139 GB, free: 64.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/21.11, allocations: 7.938 kB / 7.139 GB, free: 64.89 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.009562/21.12, allocations: 1.909 MB / 7.141 GB, free: 62.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/21.12, allocations: 12.03 kB / 7.141 GB, free: 62.92 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001638/21.12, allocations: 66.53 kB / 7.141 GB, free: 62.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/21.12, allocations: 38.73 kB / 7.141 GB, free: 62.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/21.12, allocations: 250.7 kB / 7.141 GB, free: 62.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/21.12, allocations: 20.5 kB / 7.141 GB, free: 62.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.501e-05/21.12, allocations: 28 kB / 7.141 GB, free: 62.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/21.12, allocations: 497.3 kB / 7.142 GB, free: 61.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/21.12, allocations: 4 kB / 7.142 GB, free: 61.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/21.12, allocations: 12 kB / 7.142 GB, free: 61.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-05/21.12, allocations: 20.55 kB / 7.142 GB, free: 61.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/21.12, allocations: 0.888 MB / 7.143 GB, free: 61.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/21.12, allocations: 1.807 MB / 7.144 GB, free: 59.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/21.12, allocations: 329 kB / 7.145 GB, free: 58.76 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01902/21.14, allocations: 12.84 MB / 7.157 GB, free: 43.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006351/21.14, allocations: 241.1 kB / 7.157 GB, free: 43.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.717e-06/21.14, allocations: 0 / 7.157 GB, free: 43.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.003556/21.15, allocations: 0.8049 MB / 7.158 GB, free: 42.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/21.15, allocations: 269 kB / 7.158 GB, free: 42.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/21.15, allocations: 185.5 kB / 7.159 GB, free: 41.83 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/21.15, allocations: 33.7 kB / 7.159 GB, free: 41.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/21.15, allocations: 265.8 kB / 7.159 GB, free: 41.53 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/21.15, allocations: 122.3 kB / 7.159 GB, free: 41.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/21.15, allocations: 12 kB / 7.159 GB, free: 41.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.39e-05/21.15, allocations: 326.8 kB / 7.159 GB, free: 41.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/21.15, allocations: 93.05 kB / 7.159 GB, free: 40.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000544/21.15, allocations: 353.6 kB / 7.16 GB, free: 40.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/21.15, allocations: 155.8 kB / 7.16 GB, free: 40.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/21.15, allocations: 0 / 7.16 GB, free: 40.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001715/21.15, allocations: 492.9 kB / 7.16 GB, free: 39.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/21.15, allocations: 8 kB / 7.16 GB, free: 39.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/21.15, allocations: 15.95 kB / 7.16 GB, free: 39.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.463e-05/21.15, allocations: 12.75 kB / 7.16 GB, free: 39.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/21.15, allocations: 183.6 kB / 7.161 GB, free: 39.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005805/21.15, allocations: 1.191 MB / 7.162 GB, free: 38.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/21.15, allocations: 32.06 kB / 7.162 GB, free: 38.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.997e-05/21.15, allocations: 47.98 kB / 7.162 GB, free: 38.33 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * 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): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002553/21.15, allocations: 169.6 kB / 7.162 GB, free: 38.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/21.16, allocations: 31.72 kB / 7.162 GB, free: 38.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/21.16, allocations: 0.5127 MB / 7.163 GB, free: 37.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/21.16, allocations: 7.938 kB / 7.163 GB, free: 37.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/21.16, allocations: 3.562 kB / 7.163 GB, free: 37.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/21.16, allocations: 0 / 7.163 GB, free: 37.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/21.16, allocations: 0.5725 MB / 7.163 GB, free: 36.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/21.16, allocations: 0 / 7.163 GB, free: 36.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006655/21.16, allocations: 83.81 kB / 7.163 GB, free: 36.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/21.16, allocations: 7.984 kB / 7.163 GB, free: 36.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/21.16, allocations: 8.094 kB / 7.163 GB, free: 36.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004376/21.16, allocations: 1.168 MB / 7.164 GB, free: 35.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/21.16, allocations: 0 / 7.164 GB, free: 35.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008008/21.16, allocations: 326.7 kB / 7.165 GB, free: 35.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/21.16, allocations: 136.7 kB / 7.165 GB, free: 35.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.29e-05/21.16, allocations: 0 / 7.165 GB, free: 35.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/21.16, allocations: 27.88 kB / 7.165 GB, free: 35.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/21.16, allocations: 15.98 kB / 7.165 GB, free: 35.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/21.16, allocations: 11.98 kB / 7.165 GB, free: 35.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002278/21.16, allocations: 178 kB / 7.165 GB, free: 34.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.11e-07/21.16, allocations: 0 / 7.165 GB, free: 34.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009291/21.17, allocations: 1.935 MB / 7.167 GB, free: 32.92 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01847/21.19, allocations: 3.694 MB / 7.171 GB, free: 29.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001508/21.19, allocations: 311.2 kB / 7.171 GB, free: 28.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/21.19, allocations: 0 / 7.171 GB, free: 28.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005862/21.19, allocations: 105.2 kB / 7.171 GB, free: 28.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006161/21.19, allocations: 60.45 kB / 7.171 GB, free: 28.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.483/22.67, allocations: 279.1 MB / 7.443 GB, free: 66.76 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/22.68, allocations: 0.7621 MB / 7.444 GB, free: 66.06 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/22.68, allocations: 109.9 kB / 7.444 GB, free: 66.05 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/22.68, allocations: 2.844 kB / 7.444 GB, free: 66.05 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.318/26.99, allocations: 48.25 MB / 7.491 GB, free: 59.44 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat