Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.771/1.771, allocations: 171.2 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003687, allocations: 8 kB / 233.4 MB, free: 176 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08813/0.08854, allocations: 38.77 MB / 272.1 MB, free: 9.316 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.128/2.216, allocations: 0.6362 GB / 0.902 GB, free: 68.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/2.217, allocations: 80.2 kB / 0.9021 GB, free: 68.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5206/2.737, allocations: 117.2 MB / 1.016 GB, free: 103.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.945e-06/2.737, allocations: 0 / 1.016 GB, free: 103.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/2.737, allocations: 4 kB / 1.016 GB, free: 103.1 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001509/2.739, allocations: 0.5792 MB / 1.017 GB, free: 102.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/2.739, allocations: 8.031 kB / 1.017 GB, free: 102.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/2.739, allocations: 34.56 kB / 1.017 GB, free: 102.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/2.739, allocations: 15.75 kB / 1.017 GB, free: 102.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/2.739, allocations: 173.7 kB / 1.017 GB, free: 102.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/2.739, allocations: 8 kB / 1.017 GB, free: 102.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/2.739, allocations: 7.953 kB / 1.017 GB, free: 102.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/2.74, allocations: 66.67 kB / 1.017 GB, free: 102.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/2.74, allocations: 1.688 kB / 1.017 GB, free: 102.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/2.74, allocations: 4 kB / 1.017 GB, free: 102.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/2.74, allocations: 0 / 1.017 GB, free: 102.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/2.74, allocations: 30.25 kB / 1.017 GB, free: 102.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/2.74, allocations: 173.8 kB / 1.018 GB, free: 101.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/2.741, allocations: 80.56 kB / 1.018 GB, free: 101.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1355/2.876, allocations: 35.43 MB / 1.052 GB, free: 66.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/2.876, allocations: 42.52 kB / 1.052 GB, free: 66.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.506e-06/2.876, allocations: 0 / 1.052 GB, free: 66.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005805/2.877, allocations: 89.33 kB / 1.052 GB, free: 66.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/2.877, allocations: 81.11 kB / 1.052 GB, free: 66.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/2.877, allocations: 104.9 kB / 1.053 GB, free: 66.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/2.877, allocations: 33.7 kB / 1.053 GB, free: 66.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/2.877, allocations: 88.08 kB / 1.053 GB, free: 65.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/2.877, allocations: 19.75 kB / 1.053 GB, free: 65.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/2.877, allocations: 0 / 1.053 GB, free: 65.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.21e-05/2.877, allocations: 314.8 kB / 1.053 GB, free: 65.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/2.877, allocations: 15.98 kB / 1.053 GB, free: 65.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/2.877, allocations: 22.45 kB / 1.053 GB, free: 65.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/2.878, allocations: 23.98 kB / 1.053 GB, free: 65.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/2.878, allocations: 0 / 1.053 GB, free: 65.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003159/2.878, allocations: 81.06 kB / 1.053 GB, free: 65.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/2.878, allocations: 9.031 kB / 1.053 GB, free: 65.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/2.878, allocations: 7.953 kB / 1.053 GB, free: 65.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/2.878, allocations: 0 / 1.053 GB, free: 65.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/2.878, allocations: 11.98 kB / 1.053 GB, free: 65.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/2.878, allocations: 11.94 kB / 1.053 GB, free: 65.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.756e-05/2.878, allocations: 0 / 1.053 GB, free: 65.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/2.878, allocations: 4 kB / 1.053 GB, free: 65.42 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.955e-05/2.878, allocations: 113.8 kB / 1.053 GB, free: 65.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/2.878, allocations: 4 kB / 1.053 GB, free: 65.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004438/2.879, allocations: 117.7 kB / 1.053 GB, free: 65.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/2.879, allocations: 7.953 kB / 1.053 GB, free: 65.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/2.879, allocations: 0 / 1.053 GB, free: 65.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/2.879, allocations: 0 / 1.053 GB, free: 65.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/2.879, allocations: 165.6 kB / 1.054 GB, free: 64.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/2.879, allocations: 0 / 1.054 GB, free: 64.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/2.879, allocations: 15.98 kB / 1.054 GB, free: 64.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/2.879, allocations: 3.938 kB / 1.054 GB, free: 64.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/2.879, allocations: 4 kB / 1.054 GB, free: 64.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/2.879, allocations: 8 kB / 1.054 GB, free: 64.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/2.879, allocations: 7.938 kB / 1.054 GB, free: 64.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/2.88, allocations: 111.6 kB / 1.054 GB, free: 64.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/2.88, allocations: 85.09 kB / 1.054 GB, free: 64.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/2.88, allocations: 7.984 kB / 1.054 GB, free: 64.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/2.88, allocations: 11.95 kB / 1.054 GB, free: 64.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/2.88, allocations: 7.984 kB / 1.054 GB, free: 64.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/2.88, allocations: 3.703 kB / 1.054 GB, free: 64.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.424e-05/2.88, allocations: 95.27 kB / 1.054 GB, free: 64.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.88, allocations: 0 / 1.054 GB, free: 64.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001434/2.881, allocations: 327.6 kB / 1.054 GB, free: 64.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003169/2.885, allocations: 1.353 MB / 1.055 GB, free: 62.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003858/2.885, allocations: 35.91 kB / 1.056 GB, free: 62.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/2.885, allocations: 4 kB / 1.056 GB, free: 62.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/2.885, allocations: 23.98 kB / 1.056 GB, free: 62.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/2.885, allocations: 7.984 kB / 1.056 GB, free: 62.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/2.887, allocations: 0.8223 MB / 1.056 GB, free: 61.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/2.888, allocations: 0.6887 MB / 1.057 GB, free: 61.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001805/2.888, allocations: 44.36 kB / 1.057 GB, free: 61.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.285e-05/2.888, allocations: 27.36 kB / 1.057 GB, free: 61.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/2.888, allocations: 7.938 kB / 1.057 GB, free: 61.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05461/2.943, allocations: 10.82 MB / 1.068 GB, free: 50.34 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003696/2.943, allocations: 179.1 kB / 1.068 GB, free: 50.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.12/6.063, allocations: 0 / 1.068 GB, free: 50.1 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat