Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 194.9 MB / 211.1 MB, free: 7.77 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004147, allocations: 16 kB / 264.1 MB, free: 2.707 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3108, allocations: 44.5 MB / 308.6 MB, free: 12.58 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.064/2.375, allocations: 0.7133 GB / 1.015 GB, free: 17.61 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/2.376, allocations: 75.84 kB / 1.015 GB, free: 17.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.386/2.762, allocations: 33.79 MB / 1.048 GB, free: 147.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.275e-06/2.762, allocations: 0 / 1.048 GB, free: 147.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/2.762, allocations: 3.938 kB / 1.048 GB, free: 147.1 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.0007061/2.763, allocations: 428.1 kB / 1.048 GB, free: 146.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/2.763, allocations: 7.656 kB / 1.048 GB, free: 146.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.042e-05/2.763, allocations: 44.06 kB / 1.048 GB, free: 146.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002786/2.766, allocations: 188.8 kB / 1.048 GB, free: 146.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/2.766, allocations: 203.9 kB / 1.049 GB, free: 146.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/2.766, allocations: 12.22 kB / 1.049 GB, free: 146.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.146e-05/2.766, allocations: 6.625 kB / 1.049 GB, free: 146.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000739/2.767, allocations: 204.4 kB / 1.049 GB, free: 146.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/2.767, allocations: 0 / 1.049 GB, free: 146.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.922e-05/2.767, allocations: 3 kB / 1.049 GB, free: 146.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/2.767, allocations: 5.875 kB / 1.049 GB, free: 146.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008678/2.768, allocations: 215.4 kB / 1.049 GB, free: 146.5 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.00203/2.77, allocations: 0.6203 MB / 1.05 GB, free: 146.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005846/2.77, allocations: 165.9 kB / 1.05 GB, free: 146.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002883/2.771, allocations: 94.08 kB / 1.05 GB, free: 146 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/2.771, allocations: 36.47 kB / 1.05 GB, free: 145.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.497e-06/2.771, allocations: 0 / 1.05 GB, free: 145.9 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.009166/2.78, allocations: 1.453 MB / 1.051 GB, free: 145.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/2.78, allocations: 58.66 kB / 1.051 GB, free: 145.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.269e-05/2.78, allocations: 109.1 kB / 1.051 GB, free: 145.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/2.78, allocations: 35.95 kB / 1.051 GB, free: 145.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/2.78, allocations: 93.78 kB / 1.052 GB, free: 145.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/2.78, allocations: 71.88 kB / 1.052 GB, free: 145 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/2.78, allocations: 0 / 1.052 GB, free: 145 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.73e-05/2.78, allocations: 324.3 kB / 1.052 GB, free: 144.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/2.781, allocations: 80.03 kB / 1.052 GB, free: 144.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/2.781, allocations: 114.3 kB / 1.052 GB, free: 144.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/2.781, allocations: 96.12 kB / 1.052 GB, free: 144.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/2.781, allocations: 0 / 1.052 GB, free: 144.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009041/2.782, allocations: 271.2 kB / 1.052 GB, free: 144.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/2.782, allocations: 4.75 kB / 1.052 GB, free: 144.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/2.782, allocations: 0 / 1.052 GB, free: 144.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000187/2.783, allocations: 24.52 kB / 1.052 GB, free: 144.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006203/2.783, allocations: 57.53 kB / 1.053 GB, free: 144.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003549/2.784, allocations: 0.5296 MB / 1.053 GB, free: 144.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/2.784, allocations: 18.59 kB / 1.053 GB, free: 144.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/2.784, allocations: 10.81 kB / 1.053 GB, free: 144.1 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.0001608/2.784, allocations: 129.4 kB / 1.053 GB, free: 144 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.006e-05/2.784, allocations: 8.969 kB / 1.053 GB, free: 144 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/2.785, allocations: 292.1 kB / 1.053 GB, free: 143.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/2.785, allocations: 3.219 kB / 1.053 GB, free: 143.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/2.785, allocations: 0 / 1.053 GB, free: 143.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/2.785, allocations: 3.234 kB / 1.053 GB, free: 143.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/2.787, allocations: 0.6611 MB / 1.054 GB, free: 143.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/2.787, allocations: 0 / 1.054 GB, free: 143.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000628/2.788, allocations: 54.31 kB / 1.054 GB, free: 143.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001293/2.788, allocations: 21.64 kB / 1.054 GB, free: 143.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/2.788, allocations: 10.14 kB / 1.054 GB, free: 143.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000964/2.789, allocations: 1.282 MB / 1.055 GB, free: 142.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/2.789, allocations: 0 / 1.055 GB, free: 142.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/2.79, allocations: 462.4 kB / 1.056 GB, free: 142.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/2.79, allocations: 86.42 kB / 1.056 GB, free: 142 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/2.79, allocations: 11.97 kB / 1.056 GB, free: 142 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/2.791, allocations: 13.64 kB / 1.056 GB, free: 142 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/2.791, allocations: 20.55 kB / 1.056 GB, free: 142 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/2.791, allocations: 10.06 kB / 1.056 GB, free: 142 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.783e-05/2.791, allocations: 86.95 kB / 1.056 GB, free: 141.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/2.791, allocations: 0 / 1.056 GB, free: 141.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009444/2.792, allocations: 164.7 kB / 1.056 GB, free: 141.9 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.002987/2.795, allocations: 1.714 MB / 1.058 GB, free: 140.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009187/2.796, allocations: 217.5 kB / 1.058 GB, free: 140.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/2.796, allocations: 0 / 1.058 GB, free: 140.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005273/2.797, allocations: 223.9 kB / 1.058 GB, free: 140.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005745/2.797, allocations: 54.67 kB / 1.058 GB, free: 140.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/2.8, allocations: 1.593 MB / 1.06 GB, free: 139.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/2.8, allocations: 0.7137 MB / 1.061 GB, free: 138.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000634/2.801, allocations: 49.86 kB / 1.061 GB, free: 138.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/2.801, allocations: 41.45 kB / 1.061 GB, free: 138.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/2.801, allocations: 0 / 1.061 GB, free: 138.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05579/2.857, allocations: 14.52 MB / 1.075 GB, free: 127.4 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002947/2.857, allocations: 208.3 kB / 1.075 GB, free: 127.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.317/6.175, allocations: 0 / 1.075 GB, free: 127.1 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat