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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.501/2.501, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.258e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3585, allocations: 54.85 MB / 358.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.888/2.246, allocations: 0.6416 GB / 0.9914 GB, free: 33.89 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/2.247, allocations: 82.7 kB / 0.9915 GB, free: 33.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.645/2.892, allocations: 108.5 MB / 1.097 GB, free: 137.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.713e-06/2.892, allocations: 0 / 1.097 GB, free: 137.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.586e-05/2.892, allocations: 4 kB / 1.097 GB, free: 137.2 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.003812/2.896, allocations: 1.052 MB / 1.098 GB, free: 136.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/2.896, allocations: 12.03 kB / 1.098 GB, free: 136.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009155/2.897, allocations: 71.66 kB / 1.099 GB, free: 136 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/2.897, allocations: 254.6 kB / 1.099 GB, free: 135.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/2.897, allocations: 8 kB / 1.099 GB, free: 135.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/2.897, allocations: 16 kB / 1.099 GB, free: 135.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000942/2.898, allocations: 0.5827 MB / 1.099 GB, free: 135.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/2.899, allocations: 352.5 kB / 1.1 GB, free: 134.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/2.899, allocations: 0 / 1.1 GB, free: 134.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.183e-05/2.899, allocations: 3.953 kB / 1.1 GB, free: 134.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/2.899, allocations: 11.94 kB / 1.1 GB, free: 134.7 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.1261/3.025, allocations: 39.34 MB / 1.138 GB, free: 91.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/3.025, allocations: 66.72 kB / 1.138 GB, free: 91.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.682e-05/3.025, allocations: 28.86 kB / 1.138 GB, free: 91.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02723/3.052, allocations: 7.046 MB / 1.145 GB, free: 84.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/3.053, allocations: 91.42 kB / 1.145 GB, free: 84.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 2.856e-06/3.053, allocations: 0 / 1.145 GB, free: 84.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.002594/3.055, allocations: 352.8 kB / 1.146 GB, free: 83.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/3.055, allocations: 59.28 kB / 1.146 GB, free: 83.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/3.056, allocations: 198.9 kB / 1.146 GB, free: 83.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/3.056, allocations: 33.7 kB / 1.146 GB, free: 83.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/3.056, allocations: 308.9 kB / 1.146 GB, free: 83.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/3.056, allocations: 47.39 kB / 1.146 GB, free: 83.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/3.056, allocations: 0 / 1.146 GB, free: 83.13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.489e-05/3.056, allocations: 330.8 kB / 1.147 GB, free: 82.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/3.056, allocations: 53.11 kB / 1.147 GB, free: 82.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/3.056, allocations: 289.7 kB / 1.147 GB, free: 82.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002299/3.059, allocations: 255.6 kB / 1.147 GB, free: 82.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/3.059, allocations: 0 / 1.147 GB, free: 82.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002857/3.062, allocations: 477.7 kB / 1.148 GB, free: 81.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/3.062, allocations: 15.94 kB / 1.148 GB, free: 81.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/3.062, allocations: 11.98 kB / 1.148 GB, free: 81.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-05/3.062, allocations: 16.06 kB / 1.148 GB, free: 81.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002326/3.064, allocations: 223.7 kB / 1.148 GB, free: 81.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004045/3.065, allocations: 0.6016 MB / 1.148 GB, free: 80.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/3.065, allocations: 15.86 kB / 1.148 GB, free: 80.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/3.065, allocations: 31.98 kB / 1.148 GB, free: 80.69 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * 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): 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.0001355/3.065, allocations: 122.5 kB / 1.149 GB, free: 80.56 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008895/3.066, allocations: 161.4 kB / 1.149 GB, free: 80.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/3.066, allocations: 15.81 kB / 1.149 GB, free: 80.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008694/3.067, allocations: 307.2 kB / 1.149 GB, free: 80.08 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/3.067, allocations: 7.953 kB / 1.149 GB, free: 80.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/3.067, allocations: 0 / 1.149 GB, free: 80.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/3.067, allocations: 7.938 kB / 1.149 GB, free: 80.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/3.068, allocations: 285.6 kB / 1.149 GB, free: 79.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/3.068, allocations: 0 / 1.149 GB, free: 79.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/3.069, allocations: 115.8 kB / 1.149 GB, free: 79.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/3.069, allocations: 0 / 1.149 GB, free: 79.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/3.069, allocations: 4 kB / 1.149 GB, free: 79.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003221/3.069, allocations: 0.586 MB / 1.15 GB, free: 79.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/3.07, allocations: 0 / 1.15 GB, free: 79.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000695/3.07, allocations: 260.6 kB / 1.15 GB, free: 78.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/3.07, allocations: 136.6 kB / 1.15 GB, free: 78.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.268e-05/3.07, allocations: 3.953 kB / 1.15 GB, free: 78.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/3.071, allocations: 11.98 kB / 1.15 GB, free: 78.58 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/3.071, allocations: 8 kB / 1.15 GB, free: 78.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/3.071, allocations: 7.984 kB / 1.15 GB, free: 78.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001924/3.071, allocations: 162 kB / 1.151 GB, free: 78.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.32e-07/3.071, allocations: 4 kB / 1.151 GB, free: 78.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002416/3.073, allocations: 463.4 kB / 1.151 GB, free: 77.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.004594/3.078, allocations: 1.529 MB / 1.152 GB, free: 76.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001457/3.08, allocations: 273.8 kB / 1.153 GB, free: 76.17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/3.08, allocations: 0 / 1.153 GB, free: 76.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008613/3.081, allocations: 139.9 kB / 1.153 GB, free: 76.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/3.081, allocations: 45.62 kB / 1.153 GB, free: 76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6032/3.684, allocations: 111.3 MB / 1.262 GB, free: 132.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/3.685, allocations: 0.7622 MB / 1.262 GB, free: 131.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/3.685, allocations: 100.5 kB / 1.262 GB, free: 131.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.573e-06/3.685, allocations: 0 / 1.262 GB, free: 131.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.863/6.547, allocations: 13.15 MB / 1.275 GB, free: 130.6 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