Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.678/1.678, allocations: 171.1 MB / 186.7 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003535, allocations: 12 kB / 233.3 MB, free: 2.91 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08847/0.08886, allocations: 38.77 MB / 272.1 MB, free: 12.06 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.1/2.189, allocations: 0.7011 GB / 0.9668 GB, free: 18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/2.189, allocations: 79.77 kB / 0.9669 GB, free: 17.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3538/2.543, allocations: 33.58 MB / 0.9997 GB, free: 121.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/2.543, allocations: 0 / 0.9997 GB, free: 121.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/2.543, allocations: 1.188 kB / 0.9997 GB, free: 121.8 MB / 362.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.0007389/2.544, allocations: 419.2 kB / 1 GB, free: 121.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/2.544, allocations: 9.5 kB / 1 GB, free: 121.4 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.504e-05/2.544, allocations: 44.25 kB / 1 GB, free: 121.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002901/2.547, allocations: 184 kB / 1 GB, free: 121.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/2.547, allocations: 212.8 kB / 1.001 GB, free: 121.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/2.547, allocations: 6.094 kB / 1.001 GB, free: 121.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-05/2.547, allocations: 9.219 kB / 1.001 GB, free: 121.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007553/2.548, allocations: 200.9 kB / 1.001 GB, free: 121.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/2.548, allocations: 3.531 kB / 1.001 GB, free: 121.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.093e-05/2.548, allocations: 7.266 kB / 1.001 GB, free: 121.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/2.548, allocations: 1.844 kB / 1.001 GB, free: 121.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008982/2.549, allocations: 210.9 kB / 1.001 GB, free: 121.1 MB / 362.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.002109/2.551, allocations: 0.6329 MB / 1.002 GB, free: 120.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006007/2.552, allocations: 159.4 kB / 1.002 GB, free: 120.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002892/2.552, allocations: 105.5 kB / 1.002 GB, free: 120.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/2.552, allocations: 33.69 kB / 1.002 GB, free: 120.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.515e-06/2.552, allocations: 0 / 1.002 GB, free: 120.6 MB / 362.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.009258/2.561, allocations: 1.455 MB / 1.003 GB, free: 120 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/2.561, allocations: 56.31 kB / 1.003 GB, free: 120 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/2.561, allocations: 103.9 kB / 1.003 GB, free: 119.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/2.561, allocations: 29.45 kB / 1.003 GB, free: 119.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/2.562, allocations: 167.2 kB / 1.004 GB, free: 119.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.537e-05/2.562, allocations: 71.72 kB / 1.004 GB, free: 119.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/2.562, allocations: 2.562 kB / 1.004 GB, free: 119.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.612e-05/2.562, allocations: 324.5 kB / 1.004 GB, free: 119.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/2.562, allocations: 77.23 kB / 1.004 GB, free: 119.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/2.562, allocations: 117.3 kB / 1.004 GB, free: 119.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/2.563, allocations: 90.03 kB / 1.004 GB, free: 119.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/2.563, allocations: 2.156 kB / 1.004 GB, free: 119.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008733/2.564, allocations: 260.4 kB / 1.005 GB, free: 119.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/2.564, allocations: 10.47 kB / 1.005 GB, free: 119.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/2.564, allocations: 3.953 kB / 1.005 GB, free: 119.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/2.564, allocations: 29.61 kB / 1.005 GB, free: 119.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/2.565, allocations: 48.97 kB / 1.005 GB, free: 119.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003776/2.565, allocations: 0.5345 MB / 1.005 GB, free: 118.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/2.565, allocations: 12.12 kB / 1.005 GB, free: 118.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/2.565, allocations: 10.12 kB / 1.005 GB, free: 118.7 MB / 362.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.0001698/2.566, allocations: 126.6 kB / 1.005 GB, free: 118.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/2.566, allocations: 15.09 kB / 1.005 GB, free: 118.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/2.567, allocations: 291.2 kB / 1.006 GB, free: 118.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/2.567, allocations: 0 / 1.006 GB, free: 118.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/2.567, allocations: 3.938 kB / 1.006 GB, free: 118.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/2.567, allocations: 11.42 kB / 1.006 GB, free: 118.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/2.568, allocations: 0.6518 MB / 1.006 GB, free: 118.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/2.568, allocations: 0 / 1.006 GB, free: 118.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006498/2.569, allocations: 50.7 kB / 1.006 GB, free: 118.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001179/2.569, allocations: 21.42 kB / 1.006 GB, free: 118.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/2.569, allocations: 13.52 kB / 1.006 GB, free: 118.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008809/2.57, allocations: 1.273 MB / 1.008 GB, free: 116.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/2.57, allocations: 0 / 1.008 GB, free: 116.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/2.571, allocations: 471.5 kB / 1.008 GB, free: 116.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/2.571, allocations: 81.02 kB / 1.008 GB, free: 116.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/2.571, allocations: 6.672 kB / 1.008 GB, free: 116.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/2.572, allocations: 12.62 kB / 1.008 GB, free: 116.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/2.572, allocations: 18.81 kB / 1.008 GB, free: 116.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/2.572, allocations: 14.62 kB / 1.008 GB, free: 116.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.03e-05/2.572, allocations: 82.59 kB / 1.008 GB, free: 116.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.2e-07/2.572, allocations: 0 / 1.008 GB, free: 116.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009282/2.573, allocations: 168.9 kB / 1.008 GB, free: 116.5 MB / 362.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.002952/2.576, allocations: 1.732 MB / 1.01 GB, free: 115.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009013/2.577, allocations: 212.7 kB / 1.01 GB, free: 115.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/2.577, allocations: 3.875 kB / 1.01 GB, free: 115.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005248/2.577, allocations: 220.3 kB / 1.01 GB, free: 115.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/2.578, allocations: 50.33 kB / 1.011 GB, free: 115.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/2.581, allocations: 1.628 MB / 1.012 GB, free: 114.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/2.581, allocations: 0.7098 MB / 1.013 GB, free: 113.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/2.581, allocations: 44.98 kB / 1.013 GB, free: 113.5 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/2.581, allocations: 0 / 1.013 GB, free: 113.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.962/5.543, allocations: 7.962 MB / 1.021 GB, free: 112.4 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat