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.DryAirNasa.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.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.523/2.523, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.265e-05/3.28e-05, allocations: 4 kB / 309.8 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4047, allocations: 54.85 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.833/2.238, allocations: 0.5928 GB / 0.9489 GB, free: 135.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/2.238, allocations: 74.2 kB / 0.949 GB, free: 135.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2311/2.469, allocations: 61.01 MB / 1.009 GB, free: 85.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.215e-06/2.47, allocations: 0 / 1.009 GB, free: 85.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/2.47, allocations: 4 kB / 1.009 GB, free: 85.04 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002065/2.472, allocations: 0.7052 MB / 1.009 GB, free: 84.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/2.472, allocations: 12.03 kB / 1.009 GB, free: 84.28 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.433e-05/2.472, allocations: 62.53 kB / 1.009 GB, free: 84.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/2.484, allocations: 0.5858 MB / 1.01 GB, free: 83.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005424/2.485, allocations: 254.7 kB / 1.01 GB, free: 83.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/2.485, allocations: 131.3 kB / 1.01 GB, free: 83.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/2.485, allocations: 24 kB / 1.01 GB, free: 83.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/2.486, allocations: 0.5205 MB / 1.011 GB, free: 82.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/2.486, allocations: 3.938 kB / 1.011 GB, free: 82.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/2.487, allocations: 12 kB / 1.011 GB, free: 82.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/2.487, allocations: 4 kB / 1.011 GB, free: 82.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/2.488, allocations: 0.5676 MB / 1.011 GB, free: 82.02 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.002715/2.491, allocations: 1.634 MB / 1.013 GB, free: 80.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/2.491, allocations: 155.1 kB / 1.013 GB, free: 80.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/2.492, allocations: 76.89 kB / 1.013 GB, free: 80.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008943/2.492, allocations: 0.6897 MB / 1.014 GB, free: 79.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/2.492, allocations: 42.47 kB / 1.014 GB, free: 79.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 2.485e-06/2.492, allocations: 0 / 1.014 GB, free: 79.2 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.001218/2.494, allocations: 273.2 kB / 1.014 GB, free: 78.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/2.494, allocations: 55.41 kB / 1.014 GB, free: 78.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/2.494, allocations: 166.5 kB / 1.014 GB, free: 78.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/2.494, allocations: 29.7 kB / 1.014 GB, free: 78.65 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.279e-05/2.494, allocations: 253.8 kB / 1.015 GB, free: 78.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.832e-05/2.494, allocations: 71.09 kB / 1.015 GB, free: 78.33 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/2.494, allocations: 8 kB / 1.015 GB, free: 78.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.693e-05/2.494, allocations: 326.8 kB / 1.015 GB, free: 77.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/2.494, allocations: 60.73 kB / 1.015 GB, free: 77.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/2.495, allocations: 248 kB / 1.015 GB, free: 77.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/2.495, allocations: 104.5 kB / 1.015 GB, free: 77.49 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/2.495, allocations: 0 / 1.015 GB, free: 77.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007632/2.496, allocations: 367.3 kB / 1.016 GB, free: 77.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/2.496, allocations: 16.89 kB / 1.016 GB, free: 77.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/2.496, allocations: 4 kB / 1.016 GB, free: 77.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/2.496, allocations: 15.98 kB / 1.016 GB, free: 77.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/2.497, allocations: 123.8 kB / 1.016 GB, free: 76.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003158/2.497, allocations: 0.6017 MB / 1.016 GB, free: 76.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004093/2.497, allocations: 39.59 kB / 1.017 GB, free: 76.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.426e-05/2.497, allocations: 48.08 kB / 1.017 GB, free: 76.26 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001343/2.498, allocations: 136.8 kB / 1.017 GB, free: 76.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.081e-05/2.498, allocations: 19.81 kB / 1.017 GB, free: 76.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/2.499, allocations: 292.6 kB / 1.017 GB, free: 75.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/2.499, allocations: 0 / 1.017 GB, free: 75.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/2.499, allocations: 0 / 1.017 GB, free: 75.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/2.499, allocations: 0 / 1.017 GB, free: 75.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008352/2.5, allocations: 0.5327 MB / 1.018 GB, free: 75.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/2.5, allocations: 7.984 kB / 1.018 GB, free: 75.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/2.5, allocations: 59.84 kB / 1.018 GB, free: 75.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/2.5, allocations: 4 kB / 1.018 GB, free: 75.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/2.5, allocations: 11.98 kB / 1.018 GB, free: 75.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002905/2.5, allocations: 0.5978 MB / 1.018 GB, free: 74.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/2.5, allocations: 4.031 kB / 1.018 GB, free: 74.49 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/2.501, allocations: 322.8 kB / 1.019 GB, free: 74.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/2.501, allocations: 112.8 kB / 1.019 GB, free: 74 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.902e-05/2.501, allocations: 7.984 kB / 1.019 GB, free: 73.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/2.501, allocations: 11.98 kB / 1.019 GB, free: 73.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/2.502, allocations: 19.94 kB / 1.019 GB, free: 73.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/2.502, allocations: 23.98 kB / 1.019 GB, free: 73.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001403/2.502, allocations: 135 kB / 1.019 GB, free: 73.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/2.502, allocations: 0 / 1.019 GB, free: 73.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001188/2.503, allocations: 243.8 kB / 1.019 GB, free: 73.56 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002199/2.505, allocations: 1.767 MB / 1.021 GB, free: 71.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007284/2.506, allocations: 211.4 kB / 1.021 GB, free: 71.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/2.506, allocations: 4 kB / 1.021 GB, free: 71.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002505/2.506, allocations: 79.78 kB / 1.021 GB, free: 71.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00063/2.507, allocations: 63.62 kB / 1.021 GB, free: 71.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1166/2.623, allocations: 32.44 MB / 1.053 GB, free: 38.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/2.624, allocations: 0.7325 MB / 1.054 GB, free: 37.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/2.624, allocations: 95.38 kB / 1.054 GB, free: 37.89 MB / 490.7 MB Notification: Performance of SimCode: time 1.303e-06/2.624, allocations: 0 / 1.054 GB, free: 37.89 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.89/5.514, allocations: 9.169 MB / 1.063 GB, free: 28.71 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat does not exist to compare? outputFormat=mat