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.359/2.359, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.648e-05/3.654e-05, allocations: 4 kB / 309.8 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4045, allocations: 54.86 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.85/19.25, allocations: 6.537 GB / 6.893 GB, free: 112.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/19.25, allocations: 78.28 kB / 6.893 GB, free: 112.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.317/20.57, allocations: 246.7 MB / 7.134 GB, free: 82.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.813e-06/20.57, allocations: 0 / 7.134 GB, free: 82.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.799e-05/20.57, allocations: 7.031 kB / 7.134 GB, free: 82.91 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.009403/20.58, allocations: 1.896 MB / 7.136 GB, free: 81.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/20.58, allocations: 7.094 kB / 7.136 GB, free: 81.77 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/20.58, allocations: 69.92 kB / 7.136 GB, free: 81.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/20.58, allocations: 34.58 kB / 7.136 GB, free: 81.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/20.58, allocations: 251.5 kB / 7.136 GB, free: 81.51 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/20.58, allocations: 18.34 kB / 7.136 GB, free: 81.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/20.58, allocations: 26.72 kB / 7.136 GB, free: 81.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/20.58, allocations: 499.1 kB / 7.137 GB, free: 81.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/20.58, allocations: 3.75 kB / 7.137 GB, free: 81.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.503e-05/20.58, allocations: 15.73 kB / 7.137 GB, free: 81.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/20.58, allocations: 20.05 kB / 7.137 GB, free: 81.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/20.58, allocations: 0.879 MB / 7.137 GB, free: 81.39 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/20.58, allocations: 1.806 MB / 7.139 GB, free: 80.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009957/20.58, allocations: 329.7 kB / 7.14 GB, free: 80.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/20.59, allocations: 100.7 kB / 7.14 GB, free: 80.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01939/20.6, allocations: 12.95 MB / 7.152 GB, free: 67.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006028/20.61, allocations: 239.1 kB / 7.152 GB, free: 67.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.126e-06/20.61, allocations: 0 / 7.152 GB, free: 67.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.002975/20.61, allocations: 0.7227 MB / 7.153 GB, free: 67.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/20.61, allocations: 271.3 kB / 7.153 GB, free: 66.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/20.61, allocations: 180.1 kB / 7.154 GB, free: 66.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/20.61, allocations: 36.8 kB / 7.154 GB, free: 66.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/20.61, allocations: 266.7 kB / 7.154 GB, free: 66.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/20.61, allocations: 125.7 kB / 7.154 GB, free: 66.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/20.61, allocations: 11.69 kB / 7.154 GB, free: 66.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.026e-05/20.61, allocations: 332 kB / 7.154 GB, free: 65.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/20.61, allocations: 85.78 kB / 7.154 GB, free: 65.97 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005115/20.61, allocations: 357 kB / 7.155 GB, free: 65.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/20.61, allocations: 145.5 kB / 7.155 GB, free: 65.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/20.61, allocations: 7.281 kB / 7.155 GB, free: 65.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001647/20.61, allocations: 494.4 kB / 7.155 GB, free: 65.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/20.61, allocations: 11.89 kB / 7.155 GB, free: 65.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/20.61, allocations: 11.62 kB / 7.155 GB, free: 65.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.138e-05/20.61, allocations: 11.09 kB / 7.155 GB, free: 65.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/20.61, allocations: 180.6 kB / 7.156 GB, free: 65.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005307/20.61, allocations: 1.19 MB / 7.157 GB, free: 64.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/20.61, allocations: 33.73 kB / 7.157 GB, free: 64.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.872e-05/20.61, allocations: 44.95 kB / 7.157 GB, free: 64.36 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 () * 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.0001615/20.61, allocations: 144.1 kB / 7.157 GB, free: 64.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/20.61, allocations: 29.97 kB / 7.157 GB, free: 64.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/20.62, allocations: 0.5057 MB / 7.158 GB, free: 63.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/20.62, allocations: 3.688 kB / 7.158 GB, free: 63.99 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/20.62, allocations: 3.25 kB / 7.158 GB, free: 63.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/20.62, allocations: 0 / 7.158 GB, free: 63.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/20.62, allocations: 0.5726 MB / 7.158 GB, free: 63.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/20.62, allocations: 0 / 7.158 GB, free: 63.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006709/20.62, allocations: 77.55 kB / 7.158 GB, free: 63.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/20.62, allocations: 7 kB / 7.158 GB, free: 63.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/20.62, allocations: 7.031 kB / 7.158 GB, free: 63.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004263/20.62, allocations: 1.165 MB / 7.159 GB, free: 62.49 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/20.62, allocations: 0.9375 kB / 7.159 GB, free: 62.49 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007762/20.62, allocations: 325.9 kB / 7.16 GB, free: 62.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/20.62, allocations: 134.5 kB / 7.16 GB, free: 62.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.437e-05/20.62, allocations: 11.59 kB / 7.16 GB, free: 62.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/20.62, allocations: 20.11 kB / 7.16 GB, free: 62.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/20.62, allocations: 24.56 kB / 7.16 GB, free: 62.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/20.62, allocations: 10.03 kB / 7.16 GB, free: 62.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000231/20.62, allocations: 178 kB / 7.16 GB, free: 62.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.172e-06/20.62, allocations: 0 / 7.16 GB, free: 62.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009194/20.63, allocations: 1.931 MB / 7.162 GB, free: 61.64 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 () * 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.01725/20.65, allocations: 3.687 MB / 7.165 GB, free: 60.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001462/20.65, allocations: 306.9 kB / 7.166 GB, free: 60.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/20.65, allocations: 0 / 7.166 GB, free: 60.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005885/20.65, allocations: 112.7 kB / 7.166 GB, free: 60.19 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005793/20.65, allocations: 48.73 kB / 7.166 GB, free: 60.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.064/21.71, allocations: 271.5 MB / 7.431 GB, free: 6.246 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/21.71, allocations: 0.7641 MB / 7.432 GB, free: 21.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/21.71, allocations: 109.2 kB / 7.432 GB, free: 21.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.243e-06/21.71, allocations: 0 / 7.432 GB, free: 21.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.646/26.36, allocations: 48.01 MB / 7.479 GB, free: 68.3 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