Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.658/1.658, allocations: 171.2 MB / 186.1 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003734, allocations: 8 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08539/0.08581, allocations: 38.78 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.043/2.129, allocations: 0.7011 GB / 0.9668 GB, free: 19.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/2.129, allocations: 71.47 kB / 0.9669 GB, free: 19.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3519/2.481, allocations: 33.6 MB / 0.9997 GB, free: 120.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/2.481, allocations: 0 / 0.9997 GB, free: 120.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/2.481, allocations: 2.781 kB / 0.9997 GB, free: 120.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.000644/2.482, allocations: 423 kB / 1 GB, free: 120.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/2.482, allocations: 11.88 kB / 1 GB, free: 120.4 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.764e-05/2.482, allocations: 39.62 kB / 1 GB, free: 120.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002813/2.485, allocations: 185.2 kB / 1 GB, free: 120.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/2.485, allocations: 206.9 kB / 1.001 GB, free: 120.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/2.485, allocations: 6.094 kB / 1.001 GB, free: 120.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.577e-05/2.485, allocations: 19.97 kB / 1.001 GB, free: 120.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007386/2.486, allocations: 203.2 kB / 1.001 GB, free: 120.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/2.486, allocations: 0 / 1.001 GB, free: 120.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.905e-05/2.486, allocations: 7.609 kB / 1.001 GB, free: 120.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/2.486, allocations: 2.469 kB / 1.001 GB, free: 120.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000881/2.487, allocations: 210.5 kB / 1.001 GB, free: 120.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.002081/2.489, allocations: 0.6206 MB / 1.002 GB, free: 119.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/2.49, allocations: 163.4 kB / 1.002 GB, free: 119.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/2.49, allocations: 99.2 kB / 1.002 GB, free: 119.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/2.49, allocations: 42.33 kB / 1.002 GB, free: 119.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.615e-06/2.49, allocations: 2.656 kB / 1.002 GB, free: 119.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.009187/2.499, allocations: 1.454 MB / 1.003 GB, free: 119 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/2.5, allocations: 56.03 kB / 1.003 GB, free: 119 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/2.5, allocations: 105.8 kB / 1.003 GB, free: 118.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/2.5, allocations: 30.27 kB / 1.003 GB, free: 118.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/2.5, allocations: 102.2 kB / 1.004 GB, free: 118.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.898e-05/2.5, allocations: 66.83 kB / 1.004 GB, free: 118.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/2.5, allocations: 9.562 kB / 1.004 GB, free: 118.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.422e-05/2.5, allocations: 320 kB / 1.004 GB, free: 118.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/2.5, allocations: 79.97 kB / 1.004 GB, free: 118.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/2.501, allocations: 117.4 kB / 1.004 GB, free: 118.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/2.501, allocations: 90.11 kB / 1.004 GB, free: 118.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/2.501, allocations: 2 kB / 1.004 GB, free: 118.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009136/2.502, allocations: 264.9 kB / 1.004 GB, free: 118.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/2.502, allocations: 6.125 kB / 1.004 GB, free: 118.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/2.502, allocations: 3.594 kB / 1.004 GB, free: 118.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/2.502, allocations: 27.81 kB / 1.005 GB, free: 118.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006308/2.503, allocations: 53.98 kB / 1.005 GB, free: 118.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003441/2.503, allocations: 0.5374 MB / 1.005 GB, free: 117.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/2.504, allocations: 6.375 kB / 1.005 GB, free: 117.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/2.504, allocations: 6.875 kB / 1.005 GB, free: 117.8 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.0001612/2.504, allocations: 130.8 kB / 1.005 GB, free: 117.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.543e-05/2.504, allocations: 14.77 kB / 1.005 GB, free: 117.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/2.505, allocations: 292.6 kB / 1.006 GB, free: 117.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/2.505, allocations: 3.969 kB / 1.006 GB, free: 117.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/2.505, allocations: 1.312 kB / 1.006 GB, free: 117.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/2.505, allocations: 3.375 kB / 1.006 GB, free: 117.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/2.507, allocations: 0.6561 MB / 1.006 GB, free: 117.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/2.507, allocations: 1.844 kB / 1.006 GB, free: 117.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006166/2.507, allocations: 52.23 kB / 1.006 GB, free: 117.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/2.507, allocations: 20.52 kB / 1.006 GB, free: 117.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/2.507, allocations: 7.25 kB / 1.006 GB, free: 117.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008754/2.508, allocations: 1.268 MB / 1.007 GB, free: 116 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/2.508, allocations: 5.234 kB / 1.007 GB, free: 116 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/2.51, allocations: 467.6 kB / 1.008 GB, free: 115.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/2.51, allocations: 91.03 kB / 1.008 GB, free: 115.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/2.51, allocations: 6.938 kB / 1.008 GB, free: 115.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000408/2.51, allocations: 9.375 kB / 1.008 GB, free: 115.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/2.51, allocations: 17.88 kB / 1.008 GB, free: 115.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/2.51, allocations: 12.92 kB / 1.008 GB, free: 115.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.169e-05/2.51, allocations: 88.47 kB / 1.008 GB, free: 115.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/2.51, allocations: 0 / 1.008 GB, free: 115.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008715/2.511, allocations: 156.8 kB / 1.008 GB, free: 115.6 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.002948/2.514, allocations: 1.739 MB / 1.01 GB, free: 114.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008877/2.515, allocations: 205.3 kB / 1.01 GB, free: 114.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/2.515, allocations: 3.438 kB / 1.01 GB, free: 114.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005101/2.516, allocations: 226.3 kB / 1.01 GB, free: 114.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007057/2.516, allocations: 48.89 kB / 1.01 GB, free: 114.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/2.519, allocations: 1.588 MB / 1.012 GB, free: 113.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/2.519, allocations: 0.7119 MB / 1.013 GB, free: 112.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005914/2.52, allocations: 52.33 kB / 1.013 GB, free: 112.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/2.52, allocations: 36.81 kB / 1.013 GB, free: 112.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.664e-06/2.52, allocations: 0 / 1.013 GB, free: 112.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04236/2.562, allocations: 14.53 MB / 1.027 GB, free: 109.2 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/2.563, allocations: 207.8 kB / 1.027 GB, free: 108.9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.12/5.682, allocations: 0 / 1.027 GB, free: 108.9 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat