Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.098/2.098, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003549, allocations: 8 kB / 264 MB, free: 13.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09963/0.1, allocations: 44.52 MB / 308.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.377/2.477, allocations: 0.7133 GB / 1.015 GB, free: 108.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/2.477, allocations: 78.53 kB / 1.015 GB, free: 108.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1175/2.595, allocations: 33.77 MB / 1.048 GB, free: 95.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.275e-06/2.595, allocations: 0 / 1.048 GB, free: 95.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/2.595, allocations: 4 kB / 1.048 GB, free: 95.11 MB / 410.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.0006347/2.596, allocations: 428.7 kB / 1.048 GB, free: 94.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/2.596, allocations: 12.03 kB / 1.048 GB, free: 94.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.504e-05/2.596, allocations: 42.94 kB / 1.048 GB, free: 94.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002826/2.598, allocations: 188.2 kB / 1.048 GB, free: 94.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/2.599, allocations: 201.5 kB / 1.048 GB, free: 94.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/2.599, allocations: 3.875 kB / 1.048 GB, free: 94.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/2.599, allocations: 11.69 kB / 1.048 GB, free: 94.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007061/2.6, allocations: 208.7 kB / 1.049 GB, free: 94.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/2.6, allocations: 0 / 1.049 GB, free: 94.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.068e-05/2.6, allocations: 10.58 kB / 1.049 GB, free: 94.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/2.6, allocations: 8 kB / 1.049 GB, free: 94.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008382/2.601, allocations: 212.5 kB / 1.049 GB, free: 93.89 MB / 410.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.002015/2.603, allocations: 0.6193 MB / 1.05 GB, free: 93.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005814/2.603, allocations: 163.6 kB / 1.05 GB, free: 93.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/2.604, allocations: 93.09 kB / 1.05 GB, free: 93.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/2.604, allocations: 38.25 kB / 1.05 GB, free: 93.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.537e-06/2.604, allocations: 0 / 1.05 GB, free: 93.06 MB / 410.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.009099/2.613, allocations: 1.452 MB / 1.051 GB, free: 91.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/2.613, allocations: 55.41 kB / 1.051 GB, free: 91.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.676e-05/2.613, allocations: 116.3 kB / 1.051 GB, free: 91.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/2.613, allocations: 25.7 kB / 1.051 GB, free: 91.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/2.613, allocations: 174.4 kB / 1.052 GB, free: 91.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.907e-05/2.613, allocations: 66.27 kB / 1.052 GB, free: 91.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/2.613, allocations: 0 / 1.052 GB, free: 91.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.364e-05/2.613, allocations: 322.5 kB / 1.052 GB, free: 91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/2.614, allocations: 81.7 kB / 1.052 GB, free: 90.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/2.614, allocations: 117.6 kB / 1.052 GB, free: 90.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/2.614, allocations: 91.42 kB / 1.052 GB, free: 90.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/2.614, allocations: 4 kB / 1.052 GB, free: 90.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008938/2.615, allocations: 261.9 kB / 1.052 GB, free: 90.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/2.615, allocations: 7.938 kB / 1.052 GB, free: 90.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/2.615, allocations: 4 kB / 1.052 GB, free: 90.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001853/2.615, allocations: 20.84 kB / 1.053 GB, free: 90.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/2.616, allocations: 59.88 kB / 1.053 GB, free: 90.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003462/2.616, allocations: 0.5359 MB / 1.053 GB, free: 89.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/2.617, allocations: 7.656 kB / 1.053 GB, free: 89.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/2.617, allocations: 11.98 kB / 1.053 GB, free: 89.96 MB / 410.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.0001599/2.617, allocations: 130.9 kB / 1.053 GB, free: 89.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.575e-05/2.617, allocations: 11.81 kB / 1.053 GB, free: 89.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/2.618, allocations: 292.2 kB / 1.054 GB, free: 89.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/2.618, allocations: 0 / 1.054 GB, free: 89.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/2.618, allocations: 7.953 kB / 1.054 GB, free: 89.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/2.618, allocations: 3.984 kB / 1.054 GB, free: 89.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/2.62, allocations: 0.6483 MB / 1.054 GB, free: 89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/2.62, allocations: 7.984 kB / 1.054 GB, free: 88.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006205/2.62, allocations: 47.91 kB / 1.054 GB, free: 88.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/2.621, allocations: 16.84 kB / 1.054 GB, free: 88.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/2.621, allocations: 11.73 kB / 1.054 GB, free: 88.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008671/2.621, allocations: 1.278 MB / 1.055 GB, free: 87.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/2.621, allocations: 4.031 kB / 1.055 GB, free: 87.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/2.623, allocations: 467.2 kB / 1.056 GB, free: 87.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/2.623, allocations: 85.05 kB / 1.056 GB, free: 87.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.913e-05/2.623, allocations: 3.953 kB / 1.056 GB, free: 87.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/2.623, allocations: 19.92 kB / 1.056 GB, free: 87.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/2.623, allocations: 15.8 kB / 1.056 GB, free: 87.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.101e-05/2.623, allocations: 7.984 kB / 1.056 GB, free: 87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.314e-05/2.623, allocations: 87.09 kB / 1.056 GB, free: 86.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.7e-07/2.623, allocations: 0 / 1.056 GB, free: 86.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009113/2.624, allocations: 162.8 kB / 1.056 GB, free: 86.79 MB / 410.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.002918/2.627, allocations: 1.732 MB / 1.058 GB, free: 85.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009293/2.628, allocations: 213.3 kB / 1.058 GB, free: 84.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/2.628, allocations: 0 / 1.058 GB, free: 84.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005118/2.629, allocations: 225.2 kB / 1.058 GB, free: 84.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005918/2.629, allocations: 47.89 kB / 1.058 GB, free: 84.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/2.632, allocations: 1.624 MB / 1.06 GB, free: 83.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/2.633, allocations: 0.7126 MB / 1.061 GB, free: 82.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/2.633, allocations: 42.78 kB / 1.061 GB, free: 82.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/2.633, allocations: 4 kB / 1.061 GB, free: 82.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.962/5.595, allocations: 7.952 MB / 1.069 GB, free: 74.46 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat