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_dT.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_dT,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.426/2.426, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.674e-05/3.691e-05, allocations: 4 kB / 309.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4133, allocations: 54.85 MB / 364.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.857/2.27, allocations: 0.6423 GB / 0.9984 GB, free: 85.41 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/2.271, allocations: 76.7 kB / 0.9984 GB, free: 85.37 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6483/2.919, allocations: 111.2 MB / 1.107 GB, free: 150.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.873e-06/2.919, allocations: 0 / 1.107 GB, free: 150.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.739e-05/2.919, allocations: 2.562 kB / 1.107 GB, free: 150.3 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.004264/2.923, allocations: 1.048 MB / 1.108 GB, free: 149.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.584e-05/2.923, allocations: 9.688 kB / 1.108 GB, free: 149.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000127/2.923, allocations: 64.19 kB / 1.108 GB, free: 149.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000848/2.924, allocations: 78.28 kB / 1.108 GB, free: 149.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/2.925, allocations: 248.3 kB / 1.108 GB, free: 149.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/2.925, allocations: 22.16 kB / 1.108 GB, free: 149.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/2.925, allocations: 25.16 kB / 1.108 GB, free: 149.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/2.926, allocations: 493.6 kB / 1.109 GB, free: 149.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/2.926, allocations: 4.969 kB / 1.109 GB, free: 149.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.428e-05/2.926, allocations: 15.14 kB / 1.109 GB, free: 149.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/2.926, allocations: 7.156 kB / 1.109 GB, free: 149.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/2.928, allocations: 0.6858 MB / 1.11 GB, free: 149.2 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.01443/2.942, allocations: 4.176 MB / 1.114 GB, free: 147.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009347/2.943, allocations: 230.7 kB / 1.114 GB, free: 147.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/2.943, allocations: 72.53 kB / 1.114 GB, free: 147.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1509/3.094, allocations: 43.18 MB / 1.156 GB, free: 125.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007361/3.095, allocations: 241.7 kB / 1.156 GB, free: 125.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 2.836e-06/3.095, allocations: 4 kB / 1.156 GB, free: 125.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.003401/3.099, allocations: 0.723 MB / 1.157 GB, free: 124.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/3.099, allocations: 272.8 kB / 1.157 GB, free: 124.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/3.099, allocations: 177.5 kB / 1.158 GB, free: 124.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/3.099, allocations: 37.64 kB / 1.158 GB, free: 124.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/3.099, allocations: 276.5 kB / 1.158 GB, free: 124.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.928e-05/3.099, allocations: 81.62 kB / 1.158 GB, free: 124.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/3.099, allocations: 12 kB / 1.158 GB, free: 124.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.009e-05/3.099, allocations: 330.7 kB / 1.158 GB, free: 123.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/3.099, allocations: 63.84 kB / 1.158 GB, free: 123.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/3.1, allocations: 335.8 kB / 1.159 GB, free: 123.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/3.1, allocations: 114.8 kB / 1.159 GB, free: 123.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/3.1, allocations: 8 kB / 1.159 GB, free: 123.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009745/3.101, allocations: 433.3 kB / 1.159 GB, free: 122.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/3.101, allocations: 8.156 kB / 1.159 GB, free: 122.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/3.101, allocations: 15.95 kB / 1.159 GB, free: 122.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002866/3.104, allocations: 315.3 kB / 1.159 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/3.105, allocations: 103.5 kB / 1.16 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006345/3.105, allocations: 1.214 MB / 1.161 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004472/3.106, allocations: 27.89 kB / 1.161 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/3.106, allocations: 28.09 kB / 1.161 GB, free: 121.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (54): * Single equations (assignments): 52 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001447/3.106, allocations: 152.9 kB / 1.161 GB, free: 120.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/3.106, allocations: 27.61 kB / 1.161 GB, free: 120.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/3.107, allocations: 0.7855 MB / 1.162 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/3.107, allocations: 7 kB / 1.162 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/3.107, allocations: 4 kB / 1.162 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/3.107, allocations: 4 kB / 1.162 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006636/3.108, allocations: 0.506 MB / 1.162 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/3.108, allocations: 0 / 1.162 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/3.108, allocations: 35.55 kB / 1.162 GB, free: 119.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/3.11, allocations: 251.3 kB / 1.163 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/3.11, allocations: 11.89 kB / 1.163 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005971/3.111, allocations: 1.256 MB / 1.164 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/3.111, allocations: 4 kB / 1.164 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007635/3.112, allocations: 0.5282 MB / 1.164 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/3.112, allocations: 226 kB / 1.165 GB, free: 117.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.563e-05/3.112, allocations: 4 kB / 1.165 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003597/3.112, allocations: 19.83 kB / 1.165 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/3.112, allocations: 19.66 kB / 1.165 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/3.112, allocations: 8 kB / 1.165 GB, free: 117.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004701/3.113, allocations: 301.8 kB / 1.165 GB, free: 117 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/3.113, allocations: 0 / 1.165 GB, free: 117 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002075/3.115, allocations: 410.2 kB / 1.165 GB, free: 116.6 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003853/3.119, allocations: 2.236 MB / 1.167 GB, free: 114.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008322/3.12, allocations: 318.1 kB / 1.168 GB, free: 114.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/3.12, allocations: 128 / 1.168 GB, free: 114.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003135/3.12, allocations: 180.9 kB / 1.168 GB, free: 114 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007836/3.121, allocations: 81.42 kB / 1.168 GB, free: 114 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.893/8.013, allocations: 1.255 GB / 2.423 GB, free: 98.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/8.014, allocations: 0.8402 MB / 2.424 GB, free: 97.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/8.014, allocations: 149.6 kB / 2.424 GB, free: 97.27 MB / 490.7 MB Notification: Performance of SimCode: time 1.303e-06/8.014, allocations: 4 kB / 2.424 GB, free: 97.26 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.931/10.95, allocations: 14.72 MB / 2.438 GB, free: 84.66 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_dT_res.mat does not exist to compare? outputFormat=mat