Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.21/2.21, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004334/0.0004333, allocations: 16 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3465, allocations: 54.86 MB / 369.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.168/2.515, allocations: 0.7224 GB / 1.083 GB, free: 120 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/2.515, allocations: 83.7 kB / 1.083 GB, free: 120 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1129/2.628, allocations: 33.5 MB / 1.116 GB, free: 91.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.114e-06/2.628, allocations: 3.938 kB / 1.116 GB, free: 91.72 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/2.628, allocations: 0 / 1.116 GB, free: 91.72 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005962/2.629, allocations: 425.9 kB / 1.116 GB, free: 91.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/2.629, allocations: 12.03 kB / 1.116 GB, free: 91.25 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.3e-05/2.629, allocations: 42.11 kB / 1.116 GB, free: 91.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002784/2.632, allocations: 181.8 kB / 1.117 GB, free: 91.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/2.632, allocations: 205 kB / 1.117 GB, free: 90.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/2.632, allocations: 11.77 kB / 1.117 GB, free: 90.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/2.632, allocations: 4 kB / 1.117 GB, free: 90.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006932/2.633, allocations: 206.3 kB / 1.117 GB, free: 90.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/2.633, allocations: 0 / 1.117 GB, free: 90.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.744e-05/2.633, allocations: 4 kB / 1.117 GB, free: 90.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/2.633, allocations: 0 / 1.117 GB, free: 90.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008205/2.634, allocations: 214 kB / 1.117 GB, free: 90.52 MB / 490.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.001942/2.636, allocations: 0.6172 MB / 1.118 GB, free: 89.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/2.637, allocations: 168.8 kB / 1.118 GB, free: 89.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002633/2.637, allocations: 97.06 kB / 1.118 GB, free: 89.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/2.637, allocations: 34.52 kB / 1.118 GB, free: 89.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 3.617e-06/2.637, allocations: 4 kB / 1.118 GB, free: 89.67 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.008852/2.646, allocations: 1.459 MB / 1.119 GB, free: 88.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/2.646, allocations: 55.41 kB / 1.12 GB, free: 88.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.754e-05/2.646, allocations: 100.6 kB / 1.12 GB, free: 88.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/2.646, allocations: 29.27 kB / 1.12 GB, free: 88.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/2.646, allocations: 174.7 kB / 1.12 GB, free: 87.99 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.015e-05/2.646, allocations: 69.45 kB / 1.12 GB, free: 87.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/2.646, allocations: 3.5 kB / 1.12 GB, free: 87.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.917e-05/2.646, allocations: 322.6 kB / 1.12 GB, free: 87.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/2.646, allocations: 80.64 kB / 1.12 GB, free: 87.56 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/2.647, allocations: 116.2 kB / 1.12 GB, free: 87.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/2.647, allocations: 99.3 kB / 1.12 GB, free: 87.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/2.647, allocations: 3.938 kB / 1.12 GB, free: 87.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008709/2.648, allocations: 261.4 kB / 1.121 GB, free: 87.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/2.648, allocations: 4 kB / 1.121 GB, free: 87.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/2.648, allocations: 4 kB / 1.121 GB, free: 87.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001742/2.648, allocations: 28.73 kB / 1.121 GB, free: 87.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006127/2.649, allocations: 55.84 kB / 1.121 GB, free: 87.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003344/2.649, allocations: 0.5361 MB / 1.121 GB, free: 86.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/2.65, allocations: 11.66 kB / 1.121 GB, free: 86.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/2.65, allocations: 7.984 kB / 1.121 GB, free: 86.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001487/2.65, allocations: 121.3 kB / 1.121 GB, free: 86.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/2.65, allocations: 11.95 kB / 1.121 GB, free: 86.44 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/2.651, allocations: 309.3 kB / 1.122 GB, free: 86.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/2.651, allocations: 0 / 1.122 GB, free: 86.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/2.651, allocations: 0 / 1.122 GB, free: 86.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/2.651, allocations: 0 / 1.122 GB, free: 86.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/2.652, allocations: 0.6684 MB / 1.122 GB, free: 85.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/2.653, allocations: 3.938 kB / 1.122 GB, free: 85.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006112/2.653, allocations: 51.72 kB / 1.122 GB, free: 85.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/2.653, allocations: 16.84 kB / 1.122 GB, free: 85.53 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/2.653, allocations: 11.8 kB / 1.122 GB, free: 85.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008253/2.654, allocations: 1.266 MB / 1.124 GB, free: 84.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/2.654, allocations: 7.984 kB / 1.124 GB, free: 84.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/2.655, allocations: 468.1 kB / 1.124 GB, free: 83.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/2.655, allocations: 85.05 kB / 1.124 GB, free: 83.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/2.655, allocations: 4 kB / 1.124 GB, free: 83.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/2.656, allocations: 11.67 kB / 1.124 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/2.656, allocations: 19.73 kB / 1.124 GB, free: 83.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/2.656, allocations: 7.984 kB / 1.124 GB, free: 83.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.754e-05/2.656, allocations: 86.72 kB / 1.124 GB, free: 83.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.4e-07/2.656, allocations: 0 / 1.124 GB, free: 83.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008609/2.657, allocations: 168 kB / 1.125 GB, free: 83.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002754/2.66, allocations: 1.724 MB / 1.126 GB, free: 81.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008536/2.661, allocations: 209.3 kB / 1.126 GB, free: 81.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/2.661, allocations: 0 / 1.126 GB, free: 81.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000494/2.661, allocations: 231 kB / 1.127 GB, free: 81.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/2.662, allocations: 45.36 kB / 1.127 GB, free: 81.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/2.664, allocations: 1.614 MB / 1.128 GB, free: 79.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/2.665, allocations: 0.7165 MB / 1.129 GB, free: 79.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/2.665, allocations: 41.42 kB / 1.129 GB, free: 79.02 MB / 490.7 MB Notification: Performance of SimCode: time 9.21e-07/2.665, allocations: 4 kB / 1.129 GB, free: 79.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.897/5.562, allocations: 7.902 MB / 1.137 GB, free: 71.14 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat