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_ph.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_ph,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.095/2.095, allocations: 209.2 MB / 224.8 MB, free: 300 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.0004579, allocations: 8 kB / 282.7 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3782, allocations: 48.7 MB / 331.4 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.713/2.091, allocations: 0.636 GB / 0.9596 GB, free: 13.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/2.092, allocations: 78.33 kB / 0.9597 GB, free: 13.45 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6319/2.723, allocations: 111.3 MB / 1.068 GB, free: 93.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.444e-06/2.723, allocations: 0 / 1.068 GB, free: 93.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/2.723, allocations: 4 kB / 1.068 GB, free: 93.04 MB / 442.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.003903/2.727, allocations: 1.053 MB / 1.069 GB, free: 91.94 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/2.727, allocations: 12.03 kB / 1.069 GB, free: 91.93 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/2.728, allocations: 58.55 kB / 1.07 GB, free: 91.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007646/2.728, allocations: 83.64 kB / 1.07 GB, free: 91.78 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/2.729, allocations: 246.7 kB / 1.07 GB, free: 91.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/2.729, allocations: 16.56 kB / 1.07 GB, free: 91.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.411e-05/2.729, allocations: 32 kB / 1.07 GB, free: 91.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/2.73, allocations: 477.5 kB / 1.07 GB, free: 90.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/2.73, allocations: 7.875 kB / 1.07 GB, free: 90.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/2.73, allocations: 12 kB / 1.07 GB, free: 90.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/2.73, allocations: 8 kB / 1.07 GB, free: 90.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/2.732, allocations: 0.6773 MB / 1.071 GB, free: 90.25 MB / 442.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.01361/2.745, allocations: 5.369 MB / 1.076 GB, free: 84.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007159/2.746, allocations: 173 kB / 1.076 GB, free: 84.28 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07129/2.817, allocations: 25.61 MB / 1.101 GB, free: 55.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000696/2.818, allocations: 288 kB / 1.102 GB, free: 55.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 4.308e-06/2.818, allocations: 0 / 1.102 GB, free: 55.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.001574/2.82, allocations: 396.9 kB / 1.102 GB, free: 54.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.987e-05/2.82, allocations: 428.6 kB / 1.103 GB, free: 54.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/2.82, allocations: 173.7 kB / 1.103 GB, free: 54.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/2.82, allocations: 29.7 kB / 1.103 GB, free: 54.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.775e-05/2.82, allocations: 261.9 kB / 1.103 GB, free: 53.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.513e-05/2.82, allocations: 98.67 kB / 1.103 GB, free: 53.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/2.82, allocations: 4 kB / 1.103 GB, free: 53.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.826e-05/2.82, allocations: 330.8 kB / 1.103 GB, free: 53.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/2.82, allocations: 60.84 kB / 1.103 GB, free: 53.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/2.821, allocations: 306.7 kB / 1.104 GB, free: 53.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/2.821, allocations: 115.8 kB / 1.104 GB, free: 52.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/2.821, allocations: 4 kB / 1.104 GB, free: 52.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000853/2.822, allocations: 385.6 kB / 1.104 GB, free: 52.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/2.822, allocations: 15.11 kB / 1.104 GB, free: 52.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/2.822, allocations: 8 kB / 1.104 GB, free: 52.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/2.822, allocations: 12 kB / 1.104 GB, free: 52.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005486/2.822, allocations: 107.8 kB / 1.104 GB, free: 52.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/2.822, allocations: 19.92 kB / 1.104 GB, free: 52.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/2.823, allocations: 43.55 kB / 1.104 GB, free: 52.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.206e-05/2.823, allocations: 28 kB / 1.104 GB, free: 52.31 MB / 442.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 () * Number of clocked 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.0001629/2.823, allocations: 169.5 kB / 1.105 GB, free: 52.13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/2.823, allocations: 27.72 kB / 1.105 GB, free: 52.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/2.825, allocations: 0.8062 MB / 1.105 GB, free: 51.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/2.825, allocations: 8.031 kB / 1.105 GB, free: 51.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/2.825, allocations: 4 kB / 1.105 GB, free: 51.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/2.825, allocations: 15.84 kB / 1.105 GB, free: 51.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0413/2.866, allocations: 12.08 MB / 1.117 GB, free: 38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/2.866, allocations: 8.094 kB / 1.117 GB, free: 38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/2.866, allocations: 27.92 kB / 1.117 GB, free: 37.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/2.866, allocations: 4.094 kB / 1.117 GB, free: 37.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/2.866, allocations: 15.92 kB / 1.117 GB, free: 37.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/2.866, allocations: 7.953 kB / 1.117 GB, free: 37.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/2.866, allocations: 0 / 1.117 GB, free: 37.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/2.867, allocations: 485.7 kB / 1.118 GB, free: 37.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/2.867, allocations: 192.3 kB / 1.118 GB, free: 37.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.972e-05/2.867, allocations: 8 kB / 1.118 GB, free: 37.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/2.868, allocations: 11.98 kB / 1.118 GB, free: 37.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/2.868, allocations: 23.92 kB / 1.118 GB, free: 37.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/2.868, allocations: 4 kB / 1.118 GB, free: 37.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002918/2.868, allocations: 231.2 kB / 1.118 GB, free: 36.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.844e-06/2.868, allocations: 0 / 1.118 GB, free: 36.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001852/2.87, allocations: 443.3 kB / 1.119 GB, free: 36.46 MB / 442.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 (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.003209/2.873, allocations: 2.241 MB / 1.121 GB, free: 34.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005388/2.874, allocations: 237.6 kB / 1.121 GB, free: 33.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/2.874, allocations: 0 / 1.121 GB, free: 33.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/2.874, allocations: 116 kB / 1.121 GB, free: 33.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007347/2.875, allocations: 70.17 kB / 1.121 GB, free: 33.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.001/5.875, allocations: 0.7411 GB / 1.862 GB, free: 86.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/5.876, allocations: 0.8019 MB / 1.863 GB, free: 85.31 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/5.876, allocations: 130.5 kB / 1.863 GB, free: 85.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/5.876, allocations: 2.062 kB / 1.863 GB, free: 85.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.878/8.754, allocations: 11.91 MB / 1.875 GB, free: 78.08 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat