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.ReferenceAir_pT.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.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.169/2.169, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004435, allocations: 12 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3358, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.868/2.204, allocations: 0.6424 GB / 1.003 GB, free: 16.84 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/2.204, allocations: 94.31 kB / 1.003 GB, free: 16.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6422/2.847, allocations: 111.4 MB / 1.112 GB, free: 112.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.134e-06/2.847, allocations: 4 kB / 1.112 GB, free: 112.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/2.847, allocations: 4 kB / 1.112 GB, free: 112.7 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003626/2.85, allocations: 1.045 MB / 1.113 GB, free: 111.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/2.85, allocations: 12.03 kB / 1.113 GB, free: 111.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/2.85, allocations: 66.47 kB / 1.113 GB, free: 111.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007133/2.851, allocations: 79.66 kB / 1.113 GB, free: 111.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/2.851, allocations: 250.6 kB / 1.113 GB, free: 111.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/2.852, allocations: 24.56 kB / 1.113 GB, free: 111.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/2.852, allocations: 24 kB / 1.113 GB, free: 111.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/2.853, allocations: 481.5 kB / 1.114 GB, free: 110.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/2.853, allocations: 0 / 1.114 GB, free: 110.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/2.853, allocations: 15.95 kB / 1.114 GB, free: 110.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/2.853, allocations: 4 kB / 1.114 GB, free: 110.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/2.854, allocations: 0.6773 MB / 1.115 GB, free: 109.9 MB / 490.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.01196/2.866, allocations: 4.19 MB / 1.119 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008062/2.867, allocations: 215.3 kB / 1.119 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1291/2.996, allocations: 39.83 MB / 1.158 GB, free: 61.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007842/2.997, allocations: 314.4 kB / 1.158 GB, free: 61.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.597e-06/2.997, allocations: 0 / 1.158 GB, free: 61.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.00326/3, allocations: 0.7936 MB / 1.159 GB, free: 60.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/3, allocations: 427.2 kB / 1.159 GB, free: 60.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/3.001, allocations: 153.2 kB / 1.159 GB, free: 59.94 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/3.001, allocations: 29.7 kB / 1.159 GB, free: 59.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.996e-05/3.001, allocations: 238.3 kB / 1.16 GB, free: 59.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.363e-05/3.001, allocations: 122.3 kB / 1.16 GB, free: 59.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/3.001, allocations: 8 kB / 1.16 GB, free: 59.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.064e-05/3.001, allocations: 326.8 kB / 1.16 GB, free: 59.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/3.001, allocations: 69.02 kB / 1.16 GB, free: 59.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/3.001, allocations: 310.8 kB / 1.16 GB, free: 58.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/3.002, allocations: 107.8 kB / 1.161 GB, free: 58.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/3.002, allocations: 4 kB / 1.161 GB, free: 58.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008911/3.003, allocations: 401.1 kB / 1.161 GB, free: 58.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/3.003, allocations: 8 kB / 1.161 GB, free: 58.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/3.003, allocations: 8.078 kB / 1.161 GB, free: 58.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.38e-05/3.003, allocations: 12 kB / 1.161 GB, free: 58.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003159/3.006, allocations: 260.3 kB / 1.161 GB, free: 57.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005553/3.007, allocations: 1.187 MB / 1.162 GB, free: 56.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/3.007, allocations: 24.12 kB / 1.162 GB, free: 56.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.741e-05/3.007, allocations: 31.98 kB / 1.162 GB, free: 56.65 MB / 490.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.000216/3.007, allocations: 153.6 kB / 1.163 GB, free: 56.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-05/3.007, allocations: 31.72 kB / 1.163 GB, free: 56.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/3.009, allocations: 0.9879 MB / 1.164 GB, free: 55.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/3.009, allocations: 16.14 kB / 1.164 GB, free: 55.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/3.009, allocations: 0 / 1.164 GB, free: 55.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/3.009, allocations: 4 kB / 1.164 GB, free: 55.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04148/3.051, allocations: 12.29 MB / 1.176 GB, free: 41.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/3.051, allocations: 8.078 kB / 1.176 GB, free: 41.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/3.052, allocations: 127.9 kB / 1.176 GB, free: 41.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/3.052, allocations: 7.938 kB / 1.176 GB, free: 41.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/3.052, allocations: 8 kB / 1.176 GB, free: 41.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002416/3.053, allocations: 0.5821 MB / 1.176 GB, free: 41.22 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/3.053, allocations: 7.984 kB / 1.176 GB, free: 41.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000758/3.053, allocations: 0.6316 MB / 1.177 GB, free: 40.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/3.054, allocations: 184.2 kB / 1.177 GB, free: 40.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.881e-05/3.054, allocations: 8 kB / 1.177 GB, free: 40.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/3.054, allocations: 19.98 kB / 1.177 GB, free: 40.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/3.054, allocations: 27.92 kB / 1.177 GB, free: 40.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/3.054, allocations: 19.88 kB / 1.177 GB, free: 40.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002669/3.055, allocations: 215.2 kB / 1.177 GB, free: 40.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/3.055, allocations: 0 / 1.177 GB, free: 40.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002194/3.057, allocations: 471.4 kB / 1.178 GB, free: 39.55 MB / 490.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.00416/3.061, allocations: 2.447 MB / 1.18 GB, free: 37.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002056/3.063, allocations: 396.9 kB / 1.181 GB, free: 36.63 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/3.063, allocations: 0 / 1.181 GB, free: 36.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/3.064, allocations: 240.4 kB / 1.181 GB, free: 36.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008651/3.065, allocations: 85.75 kB / 1.181 GB, free: 36.31 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.696/5.761, allocations: 0.6862 GB / 1.867 GB, free: 63.53 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/5.761, allocations: 0.8271 MB / 1.868 GB, free: 62.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/5.761, allocations: 139.4 kB / 1.868 GB, free: 62.54 MB / 490.7 MB Notification: Performance of SimCode: time 1.252e-06/5.761, allocations: 4 kB / 1.868 GB, free: 62.54 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.869/8.63, allocations: 14.07 MB / 1.882 GB, free: 48.71 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat