Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.839/1.839, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003557, allocations: 8 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09946/0.09985, allocations: 44.52 MB / 308.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.88/18.98, allocations: 6.544 GB / 6.845 GB, free: 8.684 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/18.98, allocations: 75.48 kB / 6.845 GB, free: 8.645 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9532/19.94, allocations: 179.5 MB / 7.02 GB, free: 1.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.705e-06/19.94, allocations: 4 kB / 7.02 GB, free: 1.828 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.125e-06/19.94, allocations: 0 / 7.02 GB, free: 1.828 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.005787/19.94, allocations: 1.103 MB / 7.021 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/19.94, allocations: 8.031 kB / 7.021 GB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.692e-05/19.94, allocations: 38.56 kB / 7.021 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/19.94, allocations: 3.906 kB / 7.021 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/19.94, allocations: 194.9 kB / 7.022 GB, free: 396 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/19.94, allocations: 4 kB / 7.022 GB, free: 392 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/19.94, allocations: 4 kB / 7.022 GB, free: 388 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/19.94, allocations: 79.3 kB / 7.022 GB, free: 296 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/19.94, allocations: 0 / 7.022 GB, free: 296 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/19.94, allocations: 7.953 kB / 7.022 GB, free: 288 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/19.94, allocations: 4 kB / 7.022 GB, free: 284 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/19.94, allocations: 35.95 kB / 7.022 GB, free: 248 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002389/19.94, allocations: 186.6 kB / 7.022 GB, free: 8 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.348/20.29, allocations: 109.2 kB / 7.022 GB, free: 77.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.921e-05/20.29, allocations: 9.766 kB / 7.022 GB, free: 77.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/20.29, allocations: 43.44 kB / 7.022 GB, free: 77.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.467e-06/20.29, allocations: 0 / 7.022 GB, free: 77.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007827/20.29, allocations: 105.5 kB / 7.022 GB, free: 77.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/20.29, allocations: 88.39 kB / 7.022 GB, free: 77.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/20.29, allocations: 121.7 kB / 7.022 GB, free: 77.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/20.29, allocations: 29.48 kB / 7.022 GB, free: 77.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/20.29, allocations: 155 kB / 7.023 GB, free: 77.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.598e-05/20.29, allocations: 18.89 kB / 7.023 GB, free: 77.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/20.29, allocations: 7.078 kB / 7.023 GB, free: 77.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.646e-05/20.29, allocations: 312.2 kB / 7.023 GB, free: 76.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/20.29, allocations: 22.98 kB / 7.023 GB, free: 76.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/20.29, allocations: 36.41 kB / 7.023 GB, free: 76.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/20.29, allocations: 19.06 kB / 7.023 GB, free: 76.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/20.29, allocations: 0 / 7.023 GB, free: 76.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005276/20.29, allocations: 93.77 kB / 7.023 GB, free: 76.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/20.29, allocations: 3.375 kB / 7.023 GB, free: 76.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/20.29, allocations: 0 / 7.023 GB, free: 76.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/20.29, allocations: 0 / 7.023 GB, free: 76.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/20.29, allocations: 17.03 kB / 7.023 GB, free: 76.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/20.29, allocations: 3.844 kB / 7.023 GB, free: 76.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/20.29, allocations: 7.281 kB / 7.023 GB, free: 76.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/20.29, allocations: 7.766 kB / 7.023 GB, free: 76.73 MB / 410.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 0.0001172/20.29, allocations: 115.1 kB / 7.023 GB, free: 76.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/20.29, allocations: 7.391 kB / 7.023 GB, free: 76.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006256/20.29, allocations: 119.2 kB / 7.023 GB, free: 76.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/20.29, allocations: 3.312 kB / 7.023 GB, free: 76.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/20.29, allocations: 0 / 7.023 GB, free: 76.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/20.29, allocations: 0 / 7.023 GB, free: 76.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/20.29, allocations: 174.3 kB / 7.023 GB, free: 76.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/20.29, allocations: 1.062 kB / 7.023 GB, free: 76.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/20.29, allocations: 21.27 kB / 7.023 GB, free: 76.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/20.29, allocations: 3.953 kB / 7.023 GB, free: 76.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/20.29, allocations: 2.062 kB / 7.023 GB, free: 76.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/20.29, allocations: 6.609 kB / 7.023 GB, free: 76.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/20.29, allocations: 0 / 7.023 GB, free: 76.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/20.3, allocations: 134.5 kB / 7.024 GB, free: 76.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/20.3, allocations: 95.83 kB / 7.024 GB, free: 76.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/20.3, allocations: 3.688 kB / 7.024 GB, free: 76.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/20.3, allocations: 10.64 kB / 7.024 GB, free: 76.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/20.3, allocations: 10.09 kB / 7.024 GB, free: 76.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/20.3, allocations: 6.906 kB / 7.024 GB, free: 76.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001195/20.3, allocations: 104.9 kB / 7.024 GB, free: 76.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.21e-07/20.3, allocations: 0 / 7.024 GB, free: 76.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00523/20.3, allocations: 0.9764 MB / 7.025 GB, free: 76.12 MB / 410.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.0114/20.31, allocations: 2.117 MB / 7.027 GB, free: 75.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004154/20.31, allocations: 54.06 kB / 7.027 GB, free: 75.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/20.31, allocations: 0 / 7.027 GB, free: 75.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/20.31, allocations: 31.23 kB / 7.027 GB, free: 75.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/20.31, allocations: 16.47 kB / 7.027 GB, free: 75.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004688/20.32, allocations: 1.18 MB / 7.028 GB, free: 74.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/20.32, allocations: 0.6886 MB / 7.029 GB, free: 90.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/20.32, allocations: 18.12 kB / 7.029 GB, free: 90.17 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/20.32, allocations: 1.438 kB / 7.029 GB, free: 90.17 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.537/23.86, allocations: 23.25 MB / 7.051 GB, free: 88.48 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat