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: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.786/1.786, allocations: 171.2 MB / 186.7 MB, free: 1.027 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003539, allocations: 11.98 kB / 233.8 MB, free: 2.379 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08656/0.08694, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.05/2.137, allocations: 0.6362 GB / 0.9025 GB, free: 86.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/2.137, allocations: 83.45 kB / 0.9025 GB, free: 86.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5392/2.676, allocations: 117.2 MB / 1.017 GB, free: 111.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.023e-06/2.676, allocations: 0 / 1.017 GB, free: 111.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/2.676, allocations: 7.625 kB / 1.017 GB, free: 111.5 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.001438/2.678, allocations: 0.5799 MB / 1.018 GB, free: 111.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/2.678, allocations: 7.812 kB / 1.018 GB, free: 111.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/2.678, allocations: 7.422 kB / 1.018 GB, free: 111.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/2.678, allocations: 186 kB / 1.018 GB, free: 110.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/2.678, allocations: 0 / 1.018 GB, free: 110.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/2.678, allocations: 7.797 kB / 1.018 GB, free: 110.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/2.679, allocations: 69.2 kB / 1.018 GB, free: 110.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/2.679, allocations: 3.875 kB / 1.018 GB, free: 110.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/2.679, allocations: 0 / 1.018 GB, free: 110.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/2.679, allocations: 0 / 1.018 GB, free: 110.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002358/2.679, allocations: 34.72 kB / 1.018 GB, free: 110.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/2.679, allocations: 174.6 kB / 1.018 GB, free: 110.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/2.68, allocations: 86.05 kB / 1.018 GB, free: 110.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1345/2.814, allocations: 35.41 MB / 1.053 GB, free: 85.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/2.814, allocations: 42.52 kB / 1.053 GB, free: 85.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.687e-06/2.814, allocations: 0 / 1.053 GB, free: 85.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005607/2.815, allocations: 88.88 kB / 1.053 GB, free: 85.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/2.815, allocations: 77.11 kB / 1.053 GB, free: 85.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/2.815, allocations: 117.4 kB / 1.053 GB, free: 85.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/2.815, allocations: 28.61 kB / 1.053 GB, free: 85.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.699e-05/2.815, allocations: 80.14 kB / 1.053 GB, free: 85.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/2.815, allocations: 31.58 kB / 1.053 GB, free: 85.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/2.815, allocations: 0 / 1.053 GB, free: 85.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.993e-05/2.815, allocations: 318.7 kB / 1.053 GB, free: 85.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/2.815, allocations: 11.94 kB / 1.053 GB, free: 85.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/2.815, allocations: 28.67 kB / 1.053 GB, free: 85.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/2.815, allocations: 16.08 kB / 1.053 GB, free: 85.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/2.816, allocations: 7.938 kB / 1.053 GB, free: 85.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003057/2.816, allocations: 74.86 kB / 1.054 GB, free: 84.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/2.816, allocations: 8 kB / 1.054 GB, free: 84.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/2.816, allocations: 3.953 kB / 1.054 GB, free: 84.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/2.816, allocations: 0 / 1.054 GB, free: 84.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/2.816, allocations: 22.73 kB / 1.054 GB, free: 84.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/2.816, allocations: 0 / 1.054 GB, free: 84.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.868e-05/2.816, allocations: 4 kB / 1.054 GB, free: 84.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/2.816, allocations: 4 kB / 1.054 GB, free: 84.94 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.195e-05/2.816, allocations: 115.9 kB / 1.054 GB, free: 84.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/2.816, allocations: 3.891 kB / 1.054 GB, free: 84.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004583/2.817, allocations: 112.6 kB / 1.054 GB, free: 84.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/2.817, allocations: 11.95 kB / 1.054 GB, free: 84.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/2.817, allocations: 0 / 1.054 GB, free: 84.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/2.817, allocations: 0 / 1.054 GB, free: 84.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/2.817, allocations: 169.2 kB / 1.054 GB, free: 84.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/2.817, allocations: 4 kB / 1.054 GB, free: 84.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/2.817, allocations: 11.94 kB / 1.054 GB, free: 84.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/2.817, allocations: 0 / 1.054 GB, free: 84.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/2.817, allocations: 4 kB / 1.054 GB, free: 84.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/2.817, allocations: 3.938 kB / 1.054 GB, free: 84.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/2.817, allocations: 7.328 kB / 1.054 GB, free: 84.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/2.817, allocations: 108.5 kB / 1.054 GB, free: 84.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/2.818, allocations: 88.53 kB / 1.054 GB, free: 84.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/2.818, allocations: 3.812 kB / 1.054 GB, free: 84.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/2.818, allocations: 7.656 kB / 1.054 GB, free: 84.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/2.818, allocations: 11.89 kB / 1.054 GB, free: 84.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/2.818, allocations: 8 kB / 1.054 GB, free: 84.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.084e-05/2.818, allocations: 95.27 kB / 1.054 GB, free: 84.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.818, allocations: 0 / 1.054 GB, free: 84.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001395/2.819, allocations: 337.5 kB / 1.055 GB, free: 83.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.002547/2.822, allocations: 0.711 MB / 1.055 GB, free: 83.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003703/2.822, allocations: 35.03 kB / 1.055 GB, free: 83.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/2.822, allocations: 4 kB / 1.055 GB, free: 83.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/2.822, allocations: 31.2 kB / 1.055 GB, free: 83.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/2.823, allocations: 8.625 kB / 1.055 GB, free: 83.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/2.823, allocations: 185.5 kB / 1.056 GB, free: 82.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/2.823, allocations: 0.6918 MB / 1.056 GB, free: 82.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001671/2.823, allocations: 47.27 kB / 1.056 GB, free: 82.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/2.824, allocations: 23.27 kB / 1.056 GB, free: 82.18 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/2.824, allocations: 0 / 1.056 GB, free: 82.18 MB / 362.7 MB Notification: Performance of Templates: time 0.01963/2.843, allocations: 9.409 MB / 1.066 GB, free: 73.12 MB / 362.7 MB