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_TX.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_TX,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.681/1.681, allocations: 171.1 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004987, allocations: 8 kB / 233.4 MB, free: 172 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08769/0.08823, allocations: 38.77 MB / 272.1 MB, free: 9.312 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.83/19.92, allocations: 6.538 GB / 6.803 GB, free: 65.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/19.92, allocations: 76.16 kB / 6.803 GB, free: 65.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9442/20.87, allocations: 178.8 MB / 6.978 GB, free: 36.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.595e-06/20.87, allocations: 0 / 6.978 GB, free: 36.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.665e-06/20.87, allocations: 4 kB / 6.978 GB, free: 36.77 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.005701/20.87, allocations: 1.106 MB / 6.979 GB, free: 35.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/20.87, allocations: 8.031 kB / 6.979 GB, free: 35.61 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.696e-05/20.87, allocations: 38.56 kB / 6.979 GB, free: 35.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/20.87, allocations: 11.86 kB / 6.979 GB, free: 35.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/20.87, allocations: 187 kB / 6.979 GB, free: 35.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/20.87, allocations: 10.62 kB / 6.979 GB, free: 35.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/20.87, allocations: 7.938 kB / 6.979 GB, free: 35.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/20.87, allocations: 79.3 kB / 6.979 GB, free: 35.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/20.87, allocations: 0 / 6.979 GB, free: 35.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/20.87, allocations: 0 / 6.979 GB, free: 35.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/20.87, allocations: 4 kB / 6.979 GB, free: 35.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/20.87, allocations: 43.94 kB / 6.979 GB, free: 35.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/20.87, allocations: 190.5 kB / 6.98 GB, free: 34.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004868/20.87, allocations: 101.2 kB / 6.98 GB, free: 34.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.746e-05/20.87, allocations: 8.156 kB / 6.98 GB, free: 34.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/20.87, allocations: 42.48 kB / 6.98 GB, free: 34.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.754e-06/20.87, allocations: 0 / 6.98 GB, free: 34.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005494/20.87, allocations: 113.5 kB / 6.98 GB, free: 34.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/20.87, allocations: 81.11 kB / 6.98 GB, free: 34.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/20.88, allocations: 121.2 kB / 6.98 GB, free: 34.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/20.88, allocations: 29.7 kB / 6.98 GB, free: 34.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.066e-05/20.88, allocations: 84.14 kB / 6.98 GB, free: 34.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/20.88, allocations: 27.64 kB / 6.98 GB, free: 34.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-06/20.88, allocations: 0 / 6.98 GB, free: 34.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.39e-05/20.88, allocations: 318.8 kB / 6.981 GB, free: 33.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/20.88, allocations: 19.97 kB / 6.981 GB, free: 33.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/20.88, allocations: 37.7 kB / 6.981 GB, free: 33.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/20.88, allocations: 23.97 kB / 6.981 GB, free: 33.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/20.88, allocations: 0 / 6.981 GB, free: 33.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003562/20.88, allocations: 85.58 kB / 6.981 GB, free: 33.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/20.88, allocations: 6.031 kB / 6.981 GB, free: 33.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/20.88, allocations: 0 / 6.981 GB, free: 33.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/20.88, allocations: 4 kB / 6.981 GB, free: 33.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/20.88, allocations: 15.98 kB / 6.981 GB, free: 33.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/20.88, allocations: 0 / 6.981 GB, free: 33.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-05/20.88, allocations: 4 kB / 6.981 GB, free: 33.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/20.88, allocations: 8 kB / 6.981 GB, free: 33.73 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 8.251e-05/20.88, allocations: 121.7 kB / 6.981 GB, free: 33.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/20.88, allocations: 8.375 kB / 6.981 GB, free: 33.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004572/20.88, allocations: 117 kB / 6.981 GB, free: 33.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/20.88, allocations: 0 / 6.981 GB, free: 33.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/20.88, allocations: 11.81 kB / 6.981 GB, free: 33.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/20.88, allocations: 3.984 kB / 6.981 GB, free: 33.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/20.88, allocations: 185.4 kB / 6.981 GB, free: 33.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/20.88, allocations: 0 / 6.981 GB, free: 33.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/20.88, allocations: 15.98 kB / 6.981 GB, free: 33.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/20.88, allocations: 0 / 6.981 GB, free: 33.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/20.88, allocations: 0 / 6.981 GB, free: 33.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/20.88, allocations: 4 kB / 6.981 GB, free: 33.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/20.88, allocations: 0 / 6.981 GB, free: 33.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/20.88, allocations: 135.5 kB / 6.981 GB, free: 33.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.537e-05/20.88, allocations: 104.9 kB / 6.981 GB, free: 32.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/20.88, allocations: 0 / 6.981 GB, free: 32.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/20.88, allocations: 11.98 kB / 6.981 GB, free: 32.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/20.88, allocations: 8 kB / 6.981 GB, free: 32.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/20.88, allocations: 7.984 kB / 6.981 GB, free: 32.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.507e-05/20.88, allocations: 103.3 kB / 6.982 GB, free: 32.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/20.88, allocations: 0 / 6.982 GB, free: 32.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004882/20.88, allocations: 0.9717 MB / 6.982 GB, free: 31.84 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.01054/20.89, allocations: 2.109 MB / 6.985 GB, free: 29.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004202/20.89, allocations: 51.95 kB / 6.985 GB, free: 29.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/20.89, allocations: 4 kB / 6.985 GB, free: 29.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/20.89, allocations: 31.91 kB / 6.985 GB, free: 29.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/20.89, allocations: 15.2 kB / 6.985 GB, free: 29.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00458/20.9, allocations: 1.151 MB / 6.986 GB, free: 28.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/20.9, allocations: 0.6927 MB / 6.986 GB, free: 27.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001035/20.9, allocations: 19.25 kB / 6.986 GB, free: 27.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/20.9, allocations: 19.44 kB / 6.986 GB, free: 27.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/20.9, allocations: 0 / 6.986 GB, free: 27.64 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3326/21.23, allocations: 30.52 MB / 7.016 GB, free: 60.33 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/21.23, allocations: 223.5 kB / 7.016 GB, free: 60.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.311/25.54, allocations: 0.75 kB / 7.016 GB, free: 60.09 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_TX_res.mat does not exist to compare? outputFormat=mat