Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.094/2.094, allocations: 209.2 MB / 224.8 MB, free: 1.555 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.0004629, allocations: 15.94 kB / 282.7 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1101, allocations: 48.71 MB / 331.4 MB, free: 8.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.007/2.117, allocations: 0.636 GB / 0.9596 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/2.117, allocations: 83.7 kB / 0.9597 GB, free: 488 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6358/2.753, allocations: 111.3 MB / 1.068 GB, free: 63.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.735e-06/2.753, allocations: 0 / 1.068 GB, free: 63.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/2.753, allocations: 11.92 kB / 1.068 GB, free: 63.25 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.004215/2.757, allocations: 1.045 MB / 1.069 GB, free: 62.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/2.757, allocations: 12.03 kB / 1.069 GB, free: 62.14 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/2.757, allocations: 62.53 kB / 1.07 GB, free: 62.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007696/2.758, allocations: 75.66 kB / 1.07 GB, free: 62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/2.759, allocations: 250.6 kB / 1.07 GB, free: 61.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/2.759, allocations: 20.56 kB / 1.07 GB, free: 61.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/2.759, allocations: 28 kB / 1.07 GB, free: 61.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/2.76, allocations: 477.5 kB / 1.07 GB, free: 61.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/2.76, allocations: 0 / 1.07 GB, free: 61.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.941e-05/2.76, allocations: 19.94 kB / 1.07 GB, free: 61.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/2.76, allocations: 8 kB / 1.07 GB, free: 61.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/2.761, allocations: 0.6774 MB / 1.071 GB, free: 60.46 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01273/2.774, allocations: 4.186 MB / 1.075 GB, free: 56.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008154/2.775, allocations: 220.7 kB / 1.075 GB, free: 55.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1339/2.909, allocations: 39.82 MB / 1.114 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007522/2.91, allocations: 314.5 kB / 1.115 GB, free: 11.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 3.587e-06/2.91, allocations: 0 / 1.115 GB, free: 11.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.003172/2.913, allocations: 0.7926 MB / 1.115 GB, free: 11.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/2.913, allocations: 428 kB / 1.116 GB, free: 10.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/2.913, allocations: 145.3 kB / 1.116 GB, free: 10.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/2.913, allocations: 29.7 kB / 1.116 GB, free: 10.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/2.913, allocations: 242.2 kB / 1.116 GB, free: 10.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.147e-05/2.914, allocations: 118.4 kB / 1.116 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/2.914, allocations: 8 kB / 1.116 GB, free: 10.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.04e-05/2.914, allocations: 326.8 kB / 1.117 GB, free: 9.785 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/2.914, allocations: 69.02 kB / 1.117 GB, free: 9.719 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/2.914, allocations: 306.1 kB / 1.117 GB, free: 9.301 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/2.914, allocations: 115.9 kB / 1.117 GB, free: 9.188 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/2.914, allocations: 4 kB / 1.117 GB, free: 9.184 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009069/2.915, allocations: 401.5 kB / 1.117 GB, free: 8.785 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/2.915, allocations: 8 kB / 1.117 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/2.915, allocations: 11.95 kB / 1.117 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/2.915, allocations: 12 kB / 1.117 GB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003185/2.919, allocations: 259.7 kB / 1.118 GB, free: 8.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005386/2.919, allocations: 1.18 MB / 1.119 GB, free: 7.273 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/2.92, allocations: 31.8 kB / 1.119 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.624e-05/2.92, allocations: 31.98 kB / 1.119 GB, free: 7.211 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * 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.0002112/2.92, allocations: 156.9 kB / 1.119 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.707e-05/2.92, allocations: 27.8 kB / 1.119 GB, free: 7.023 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/2.922, allocations: 0.9764 MB / 1.12 GB, free: 6.008 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/2.922, allocations: 11.98 kB / 1.12 GB, free: 5.996 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/2.922, allocations: 3.938 kB / 1.12 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/2.922, allocations: 4 kB / 1.12 GB, free: 5.988 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3406/3.263, allocations: 12.29 MB / 1.132 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/3.263, allocations: 5.438 kB / 1.132 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/3.264, allocations: 137 kB / 1.132 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/3.264, allocations: 2.75 kB / 1.132 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/3.264, allocations: 10.55 kB / 1.132 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000314/3.265, allocations: 0.5854 MB / 1.133 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/3.265, allocations: 2.812 kB / 1.133 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009409/3.266, allocations: 0.6285 MB / 1.133 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/3.266, allocations: 184.5 kB / 1.134 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.06e-05/3.266, allocations: 10.09 kB / 1.134 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/3.266, allocations: 19.52 kB / 1.134 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/3.266, allocations: 27.84 kB / 1.134 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/3.266, allocations: 10.03 kB / 1.134 GB, free: 102.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003416/3.267, allocations: 217.3 kB / 1.134 GB, free: 102.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/3.267, allocations: 0 / 1.134 GB, free: 102.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00264/3.27, allocations: 471.9 kB / 1.134 GB, free: 102.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005238/3.275, allocations: 2.45 MB / 1.137 GB, free: 101.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002175/3.277, allocations: 396.3 kB / 1.137 GB, free: 101.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/3.277, allocations: 0 / 1.137 GB, free: 101.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/3.278, allocations: 250.2 kB / 1.137 GB, free: 101.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000911/3.279, allocations: 80.25 kB / 1.137 GB, free: 101.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.707/5.986, allocations: 0.6862 GB / 1.824 GB, free: 80.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/5.987, allocations: 0.818 MB / 1.824 GB, free: 79.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003904/5.987, allocations: 146.1 kB / 1.824 GB, free: 79.74 MB / 426.7 MB Notification: Performance of SimCode: time 1.593e-06/5.987, allocations: 0 / 1.824 GB, free: 79.74 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.101/9.088, allocations: 14.09 MB / 1.838 GB, free: 70.65 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat