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_ph.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_ph,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.491/2.491, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.539e-05/3.549e-05, allocations: 0 / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4096, allocations: 54.85 MB / 364.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.898/2.308, allocations: 0.6423 GB / 0.9984 GB, free: 84.87 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/2.308, allocations: 87 kB / 0.9984 GB, free: 84.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6449/2.953, allocations: 111.2 MB / 1.107 GB, free: 147.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.483e-06/2.953, allocations: 0 / 1.107 GB, free: 147.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.683e-05/2.953, allocations: 3.562 kB / 1.107 GB, free: 147.6 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.004108/2.957, allocations: 1.056 MB / 1.108 GB, free: 147 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/2.957, allocations: 9.094 kB / 1.108 GB, free: 147 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.866e-05/2.957, allocations: 60.64 kB / 1.108 GB, free: 146.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007939/2.958, allocations: 77.25 kB / 1.108 GB, free: 146.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/2.958, allocations: 242.9 kB / 1.108 GB, free: 146.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/2.958, allocations: 22.12 kB / 1.108 GB, free: 146.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/2.959, allocations: 25.38 kB / 1.108 GB, free: 146.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/2.96, allocations: 492.5 kB / 1.109 GB, free: 146.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/2.96, allocations: 0 / 1.109 GB, free: 146.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.729e-05/2.96, allocations: 18.08 kB / 1.109 GB, free: 146.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/2.96, allocations: 8.188 kB / 1.109 GB, free: 146.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/2.962, allocations: 0.6951 MB / 1.11 GB, free: 146.6 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.01517/2.977, allocations: 5.379 MB / 1.115 GB, free: 143.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007107/2.978, allocations: 189.4 kB / 1.115 GB, free: 143.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/2.978, allocations: 56.22 kB / 1.115 GB, free: 143.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07537/3.053, allocations: 25.84 MB / 1.14 GB, free: 127.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007453/3.054, allocations: 303.3 kB / 1.141 GB, free: 127.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 3.937e-06/3.054, allocations: 0 / 1.141 GB, free: 127.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=26): time 0.001449/3.056, allocations: 364 kB / 1.141 GB, free: 127.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/3.056, allocations: 432.4 kB / 1.141 GB, free: 127.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/3.056, allocations: 166.1 kB / 1.142 GB, free: 127 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/3.056, allocations: 33.08 kB / 1.142 GB, free: 127 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/3.056, allocations: 269.8 kB / 1.142 GB, free: 126.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/3.056, allocations: 92.41 kB / 1.142 GB, free: 126.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/3.056, allocations: 13.12 kB / 1.142 GB, free: 126.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.262e-05/3.056, allocations: 329.3 kB / 1.142 GB, free: 126.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/3.057, allocations: 52.84 kB / 1.142 GB, free: 126.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/3.057, allocations: 309.1 kB / 1.143 GB, free: 126.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/3.057, allocations: 119.9 kB / 1.143 GB, free: 126 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/3.057, allocations: 3.531 kB / 1.143 GB, free: 126 MB / 490.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008848/3.058, allocations: 389.5 kB / 1.143 GB, free: 125.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/3.058, allocations: 11.44 kB / 1.143 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/3.058, allocations: 7.219 kB / 1.143 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.36e-05/3.058, allocations: 14.69 kB / 1.143 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/3.059, allocations: 104.2 kB / 1.143 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/3.059, allocations: 19.52 kB / 1.143 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/3.059, allocations: 56.69 kB / 1.143 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.196e-05/3.059, allocations: 26.66 kB / 1.143 GB, free: 125.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001261/3.059, allocations: 143.2 kB / 1.143 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.071e-05/3.06, allocations: 27.39 kB / 1.144 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/3.061, allocations: 0.8084 MB / 1.144 GB, free: 125.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/3.061, allocations: 8.5 kB / 1.144 GB, free: 125.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/3.061, allocations: 3.219 kB / 1.144 GB, free: 125.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.974e-06/3.061, allocations: 9.594 kB / 1.144 GB, free: 125.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04258/3.104, allocations: 12.23 MB / 1.156 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/3.104, allocations: 7.25 kB / 1.156 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/3.104, allocations: 28.78 kB / 1.156 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/3.104, allocations: 3.5 kB / 1.156 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/3.104, allocations: 7.719 kB / 1.156 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/3.104, allocations: 0 / 1.156 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/3.104, allocations: 7.516 kB / 1.156 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/3.105, allocations: 486.8 kB / 1.157 GB, free: 118 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/3.105, allocations: 197.8 kB / 1.157 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.43e-05/3.105, allocations: 7.25 kB / 1.157 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/3.105, allocations: 9.594 kB / 1.157 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/3.105, allocations: 21.52 kB / 1.157 GB, free: 117.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/3.105, allocations: 11.12 kB / 1.157 GB, free: 117.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003217/3.106, allocations: 222 kB / 1.157 GB, free: 117.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/3.106, allocations: 0 / 1.157 GB, free: 117.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002335/3.108, allocations: 442.1 kB / 1.158 GB, free: 117.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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003908/3.112, allocations: 2.236 MB / 1.16 GB, free: 115.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000676/3.113, allocations: 245.1 kB / 1.16 GB, free: 115.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/3.113, allocations: 0 / 1.16 GB, free: 115.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/3.113, allocations: 117.5 kB / 1.16 GB, free: 115.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007994/3.114, allocations: 63.17 kB / 1.16 GB, free: 115.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.834/5.948, allocations: 0.7341 GB / 1.894 GB, free: 102.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/5.948, allocations: 0.8001 MB / 1.895 GB, free: 101.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/5.949, allocations: 128.2 kB / 1.895 GB, free: 101.6 MB / 490.7 MB Notification: Performance of SimCode: time 9.52e-07/5.949, allocations: 4 kB / 1.895 GB, free: 101.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.728/8.677, allocations: 12.23 MB / 1.907 GB, free: 89.57 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_ph_res.mat does not exist to compare? outputFormat=mat