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.IdealGasN2.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.IdealGasN2,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.052/2.052, allocations: 194.8 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003537, allocations: 12 kB / 264.1 MB, free: 2.512 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3161, allocations: 44.5 MB / 308.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.475/1.792, allocations: 447.1 MB / 0.738 GB, free: 114.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/1.792, allocations: 75.8 kB / 0.7381 GB, free: 114.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1035/1.895, allocations: 29.87 MB / 0.7672 GB, free: 105 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.033e-06/1.895, allocations: 0 / 0.7672 GB, free: 105 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/1.895, allocations: 0 / 0.7672 GB, free: 105 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005705/1.896, allocations: 398.8 kB / 0.7676 GB, free: 104.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/1.896, allocations: 16.03 kB / 0.7676 GB, free: 104.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.739e-05/1.896, allocations: 33.75 kB / 0.7676 GB, free: 104.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00273/1.899, allocations: 185.1 kB / 0.7678 GB, free: 104.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/1.899, allocations: 209.1 kB / 0.768 GB, free: 104.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/1.899, allocations: 4 kB / 0.768 GB, free: 104.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.106e-05/1.899, allocations: 11.2 kB / 0.768 GB, free: 104.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007585/1.9, allocations: 226.8 kB / 0.7683 GB, free: 103.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/1.9, allocations: 0 / 0.7683 GB, free: 103.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/1.9, allocations: 7.438 kB / 0.7683 GB, free: 103.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/1.9, allocations: 0 / 0.7683 GB, free: 103.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000709/1.901, allocations: 169 kB / 0.7684 GB, free: 103.8 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.001331/1.902, allocations: 0.5828 MB / 0.769 GB, free: 103.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/1.903, allocations: 135.5 kB / 0.7691 GB, free: 103.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.484e-05/1.903, allocations: 3.984 kB / 0.7691 GB, free: 103.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/1.903, allocations: 30.81 kB / 0.7692 GB, free: 103.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.896e-06/1.903, allocations: 4 kB / 0.7692 GB, free: 103.1 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.008874/1.912, allocations: 1.31 MB / 0.7704 GB, free: 101.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/1.912, allocations: 59.34 kB / 0.7705 GB, free: 101.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/1.912, allocations: 108.8 kB / 0.7706 GB, free: 101.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/1.912, allocations: 33.52 kB / 0.7706 GB, free: 101.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/1.912, allocations: 95.33 kB / 0.7707 GB, free: 101.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.889e-05/1.912, allocations: 62.53 kB / 0.7708 GB, free: 101.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/1.912, allocations: 3.875 kB / 0.7708 GB, free: 101.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.209e-05/1.912, allocations: 322.6 kB / 0.7711 GB, free: 101.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/1.913, allocations: 70.53 kB / 0.7712 GB, free: 101.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/1.913, allocations: 98.27 kB / 0.7713 GB, free: 101.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/1.913, allocations: 79.55 kB / 0.7713 GB, free: 101 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.913, allocations: 0 / 0.7713 GB, free: 101 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000778/1.914, allocations: 268.1 kB / 0.7716 GB, free: 100.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.914, allocations: 10.5 kB / 0.7716 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.914, allocations: 3.953 kB / 0.7716 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002818/1.914, allocations: 48.64 kB / 0.7716 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/1.915, allocations: 59.77 kB / 0.7717 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004547/1.915, allocations: 0.5597 MB / 0.7722 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/1.916, allocations: 15.83 kB / 0.7723 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.862e-05/1.916, allocations: 24 kB / 0.7723 GB, free: 100.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.0001595/1.916, allocations: 125.5 kB / 0.7724 GB, free: 99.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/1.916, allocations: 11.53 kB / 0.7724 GB, free: 99.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/1.917, allocations: 336 kB / 0.7727 GB, free: 99.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/1.917, allocations: 0 / 0.7727 GB, free: 99.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/1.917, allocations: 3.938 kB / 0.7727 GB, free: 99.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/1.917, allocations: 4 kB / 0.7727 GB, free: 99.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/1.919, allocations: 0.6069 MB / 0.7733 GB, free: 99.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.919, allocations: 3.984 kB / 0.7733 GB, free: 99.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006062/1.919, allocations: 67.83 kB / 0.7734 GB, free: 99.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/1.919, allocations: 20.83 kB / 0.7734 GB, free: 99.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/1.919, allocations: 16.03 kB / 0.7734 GB, free: 99.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009076/1.92, allocations: 1.278 MB / 0.7747 GB, free: 97.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.92, allocations: 0 / 0.7747 GB, free: 97.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/1.921, allocations: 470 kB / 0.7751 GB, free: 97.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/1.922, allocations: 89.03 kB / 0.7752 GB, free: 97.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/1.922, allocations: 11.75 kB / 0.7752 GB, free: 97.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/1.922, allocations: 4 kB / 0.7752 GB, free: 97.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/1.922, allocations: 27.61 kB / 0.7753 GB, free: 97.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.935e-05/1.922, allocations: 27.92 kB / 0.7753 GB, free: 97.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.479e-05/1.922, allocations: 83.28 kB / 0.7754 GB, free: 96.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/1.922, allocations: 7.875 kB / 0.7754 GB, free: 96.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007438/1.923, allocations: 122.7 kB / 0.7755 GB, free: 96.88 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 (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.002323/1.925, allocations: 1.631 MB / 0.7771 GB, free: 95.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008363/1.926, allocations: 193.1 kB / 0.7773 GB, free: 95.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.926, allocations: 0 / 0.7773 GB, free: 95.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005173/1.927, allocations: 227.7 kB / 0.7775 GB, free: 94.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005957/1.927, allocations: 42.77 kB / 0.7775 GB, free: 94.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/1.93, allocations: 1.564 MB / 0.7791 GB, free: 93.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/1.93, allocations: 0.7088 MB / 0.7797 GB, free: 92.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007834/1.931, allocations: 81.38 kB / 0.7798 GB, free: 92.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/1.931, allocations: 72.97 kB / 0.7799 GB, free: 92.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.173e-06/1.931, allocations: 0 / 0.7799 GB, free: 92.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04662/1.978, allocations: 14.14 MB / 0.7937 GB, free: 78.41 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003/1.978, allocations: 204.8 kB / 0.7939 GB, free: 78.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.501/5.48, allocations: 64 / 0.7939 GB, free: 78.17 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat