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.IdealGasN2.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.IdealGasN2,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.658/1.658, allocations: 171.1 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003594, allocations: 12 kB / 233.4 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.09026, allocations: 38.76 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.379, allocations: 441.4 MB / 0.6968 GB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/1.379, allocations: 71.28 kB / 0.6969 GB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3303/1.709, allocations: 29.86 MB / 0.726 GB, free: 127 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.709, allocations: 0 / 0.726 GB, free: 127 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/1.709, allocations: 1.281 kB / 0.726 GB, free: 127 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005815/1.71, allocations: 399.9 kB / 0.7264 GB, free: 126.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.71, allocations: 12.53 kB / 0.7264 GB, free: 126.6 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.957e-05/1.71, allocations: 39.83 kB / 0.7265 GB, free: 126.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0027/1.713, allocations: 185.5 kB / 0.7266 GB, free: 126.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/1.713, allocations: 209.8 kB / 0.7268 GB, free: 126.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/1.713, allocations: 6.812 kB / 0.7268 GB, free: 126.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/1.713, allocations: 12.33 kB / 0.7268 GB, free: 126.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007461/1.714, allocations: 219.6 kB / 0.7271 GB, free: 126.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.714, allocations: 0.5625 kB / 0.7271 GB, free: 126.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/1.714, allocations: 3.188 kB / 0.7271 GB, free: 126.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/1.714, allocations: 11.86 kB / 0.7271 GB, free: 126.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007141/1.715, allocations: 166.9 kB / 0.7272 GB, free: 126.3 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.001312/1.716, allocations: 0.5838 MB / 0.7278 GB, free: 125.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/1.717, allocations: 136.9 kB / 0.7279 GB, free: 125.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/1.717, allocations: 7.75 kB / 0.7279 GB, free: 125.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/1.717, allocations: 36.42 kB / 0.728 GB, free: 125.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.425e-06/1.717, allocations: 4.625 kB / 0.728 GB, free: 125.8 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.008769/1.726, allocations: 1.287 MB / 0.7292 GB, free: 125.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/1.726, allocations: 59.88 kB / 0.7293 GB, free: 125.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.968e-05/1.726, allocations: 116 kB / 0.7294 GB, free: 125.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/1.726, allocations: 29.92 kB / 0.7294 GB, free: 125.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/1.726, allocations: 91.86 kB / 0.7295 GB, free: 125 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.517e-05/1.726, allocations: 72.27 kB / 0.7296 GB, free: 125 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/1.726, allocations: 4.375 kB / 0.7296 GB, free: 125 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.475e-05/1.726, allocations: 323.1 kB / 0.7299 GB, free: 124.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/1.726, allocations: 66.42 kB / 0.73 GB, free: 124.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/1.727, allocations: 102.9 kB / 0.7301 GB, free: 124.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/1.727, allocations: 84.53 kB / 0.7301 GB, free: 124.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.727, allocations: 0 / 0.7301 GB, free: 124.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007827/1.728, allocations: 254.2 kB / 0.7304 GB, free: 124.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/1.728, allocations: 9.422 kB / 0.7304 GB, free: 124.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.728, allocations: 5.375 kB / 0.7304 GB, free: 124.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002544/1.728, allocations: 50.95 kB / 0.7305 GB, free: 124.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005441/1.729, allocations: 52.72 kB / 0.7305 GB, free: 124.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004222/1.729, allocations: 0.5623 MB / 0.731 GB, free: 124 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/1.729, allocations: 17 kB / 0.7311 GB, free: 124 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/1.729, allocations: 31.19 kB / 0.7311 GB, free: 124 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.0001678/1.73, allocations: 123.2 kB / 0.7312 GB, free: 123.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/1.73, allocations: 7.875 kB / 0.7312 GB, free: 123.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/1.731, allocations: 346.9 kB / 0.7316 GB, free: 123.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.731, allocations: 3.938 kB / 0.7316 GB, free: 123.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.731, allocations: 3.953 kB / 0.7316 GB, free: 123.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/1.731, allocations: 0 / 0.7316 GB, free: 123.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/1.732, allocations: 0.6094 MB / 0.7322 GB, free: 123.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.732, allocations: 6.312 kB / 0.7322 GB, free: 123.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005663/1.733, allocations: 64.53 kB / 0.7322 GB, free: 123.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/1.733, allocations: 19.56 kB / 0.7322 GB, free: 123.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/1.733, allocations: 18.17 kB / 0.7323 GB, free: 123.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008598/1.734, allocations: 1.27 MB / 0.7335 GB, free: 122.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.734, allocations: 0 / 0.7335 GB, free: 122.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/1.735, allocations: 465.4 kB / 0.7339 GB, free: 122 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/1.735, allocations: 88.89 kB / 0.734 GB, free: 121.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/1.735, allocations: 18.69 kB / 0.734 GB, free: 121.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/1.735, allocations: 7.469 kB / 0.7341 GB, free: 121.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/1.735, allocations: 21.83 kB / 0.7341 GB, free: 121.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.199e-05/1.736, allocations: 25.25 kB / 0.7341 GB, free: 121.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.388e-05/1.736, allocations: 93.77 kB / 0.7342 GB, free: 121.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.736, allocations: 0 / 0.7342 GB, free: 121.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007178/1.736, allocations: 117.2 kB / 0.7343 GB, free: 121.8 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 (21): * Single equations (assignments): 20 * 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.00233/1.739, allocations: 1.651 MB / 0.7359 GB, free: 120.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007532/1.739, allocations: 202.3 kB / 0.7361 GB, free: 120.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.739, allocations: 0 / 0.7361 GB, free: 120.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004546/1.74, allocations: 217.7 kB / 0.7363 GB, free: 120.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/1.741, allocations: 44.27 kB / 0.7364 GB, free: 120.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/1.743, allocations: 1.55 MB / 0.7379 GB, free: 119.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/1.743, allocations: 0.7113 MB / 0.7386 GB, free: 118.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007205/1.744, allocations: 78 kB / 0.7386 GB, free: 118.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00036/1.744, allocations: 68.64 kB / 0.7387 GB, free: 118.6 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/1.744, allocations: 0 / 0.7387 GB, free: 118.6 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04041/1.785, allocations: 14.15 MB / 0.7525 GB, free: 110.3 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002819/1.785, allocations: 200.3 kB / 0.7527 GB, free: 110 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.965/4.751, allocations: 0 / 0.7527 GB, free: 110 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat