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/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_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.466/2.466, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.31e-05/2.309e-05, allocations: 4 kB / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3604, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.876/2.236, allocations: 0.6416 GB / 0.9914 GB, free: 33.85 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/2.236, allocations: 83.75 kB / 0.9914 GB, free: 33.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6442/2.881, allocations: 108.6 MB / 1.097 GB, free: 137.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.613e-06/2.881, allocations: 4 kB / 1.097 GB, free: 137.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/2.881, allocations: 6.719 kB / 1.097 GB, free: 137.1 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.003882/2.885, allocations: 1.05 MB / 1.099 GB, free: 136 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/2.885, allocations: 8.031 kB / 1.099 GB, free: 136 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007994/2.885, allocations: 79.66 kB / 1.099 GB, free: 135.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/2.886, allocations: 254.7 kB / 1.099 GB, free: 135.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/2.886, allocations: 8 kB / 1.099 GB, free: 135.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/2.886, allocations: 16 kB / 1.099 GB, free: 135.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009354/2.887, allocations: 0.5788 MB / 1.099 GB, free: 135 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/2.887, allocations: 352.5 kB / 1.1 GB, free: 134.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/2.887, allocations: 0 / 1.1 GB, free: 134.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/2.888, allocations: 3.953 kB / 1.1 GB, free: 134.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/2.888, allocations: 11.94 kB / 1.1 GB, free: 134.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.07915/2.967, allocations: 29.49 MB / 1.129 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.329e-05/2.967, allocations: 34.58 kB / 1.129 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/2.967, allocations: 12.84 kB / 1.129 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0134/2.98, allocations: 3.552 MB / 1.132 GB, free: 97.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/2.981, allocations: 79.28 kB / 1.132 GB, free: 97.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 2.946e-06/2.981, allocations: 0 / 1.132 GB, free: 97.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009257/2.982, allocations: 157.4 kB / 1.132 GB, free: 97.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/2.982, allocations: 55.41 kB / 1.132 GB, free: 97.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/2.982, allocations: 216.2 kB / 1.133 GB, free: 97.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/2.982, allocations: 25.7 kB / 1.133 GB, free: 97.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/2.982, allocations: 332.7 kB / 1.133 GB, free: 97.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/2.982, allocations: 27.73 kB / 1.133 GB, free: 97 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/2.982, allocations: 4 kB / 1.133 GB, free: 97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.497e-05/2.982, allocations: 334.8 kB / 1.133 GB, free: 96.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/2.982, allocations: 44.88 kB / 1.133 GB, free: 96.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/2.983, allocations: 297.9 kB / 1.134 GB, free: 96.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/2.984, allocations: 207.7 kB / 1.134 GB, free: 96.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/2.984, allocations: 4 kB / 1.134 GB, free: 96.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002322/2.987, allocations: 444.7 kB / 1.134 GB, free: 95.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/2.987, allocations: 12.92 kB / 1.134 GB, free: 95.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/2.987, allocations: 12 kB / 1.134 GB, free: 95.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.282e-05/2.987, allocations: 12 kB / 1.134 GB, free: 95.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/2.987, allocations: 111.8 kB / 1.134 GB, free: 95.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/2.987, allocations: 19.92 kB / 1.134 GB, free: 95.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/2.988, allocations: 47.38 kB / 1.134 GB, free: 95.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.365e-05/2.988, allocations: 28 kB / 1.134 GB, free: 95.33 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.0001099/2.988, allocations: 124.7 kB / 1.135 GB, free: 95.2 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000293/2.988, allocations: 85.34 kB / 1.135 GB, free: 95.11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/2.989, allocations: 19.81 kB / 1.135 GB, free: 95.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/2.989, allocations: 147.2 kB / 1.135 GB, free: 94.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/2.989, allocations: 0 / 1.135 GB, free: 94.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/2.989, allocations: 0 / 1.135 GB, free: 94.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/2.989, allocations: 3.953 kB / 1.135 GB, free: 94.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005494/2.99, allocations: 443.6 kB / 1.135 GB, free: 94.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/2.99, allocations: 0 / 1.135 GB, free: 94.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.805e-05/2.99, allocations: 12.03 kB / 1.135 GB, free: 94.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/2.99, allocations: 0 / 1.135 GB, free: 94.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/2.99, allocations: 0 / 1.135 GB, free: 94.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/2.99, allocations: 0 / 1.135 GB, free: 94.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/2.99, allocations: 7.953 kB / 1.135 GB, free: 94.44 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/2.99, allocations: 202 kB / 1.135 GB, free: 94.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/2.99, allocations: 132.8 kB / 1.136 GB, free: 94.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.928e-05/2.99, allocations: 3.984 kB / 1.136 GB, free: 94.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/2.99, allocations: 11.95 kB / 1.136 GB, free: 94.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/2.991, allocations: 4 kB / 1.136 GB, free: 94.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/2.991, allocations: 7.984 kB / 1.136 GB, free: 94.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001833/2.991, allocations: 177.9 kB / 1.136 GB, free: 93.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.991, allocations: 0 / 1.136 GB, free: 93.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002031/2.993, allocations: 419.3 kB / 1.136 GB, free: 93.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.003416/2.996, allocations: 1.481 MB / 1.138 GB, free: 91.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004512/2.997, allocations: 151.7 kB / 1.138 GB, free: 91.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/2.997, allocations: 2.25 kB / 1.138 GB, free: 91.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.808e-05/2.997, allocations: 19.92 kB / 1.138 GB, free: 91.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/2.997, allocations: 21.47 kB / 1.138 GB, free: 91.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7154/3.713, allocations: 165.2 MB / 1.299 GB, free: 119.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/3.713, allocations: 0.7511 MB / 1.3 GB, free: 118.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/3.713, allocations: 86.36 kB / 1.3 GB, free: 118.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.252e-06/3.713, allocations: 4 kB / 1.3 GB, free: 118.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.653/6.366, allocations: 11.17 MB / 1.311 GB, free: 112.1 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