Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadModel(Modelica): time 1.979/1.979, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003747, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09937/0.09976, allocations: 44.51 MB / 309 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5628/0.6626, allocations: 187.2 MB / 496.3 MB, free: 4.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.663, allocations: 74.28 kB / 496.3 MB, free: 4.621 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1599/0.8229, allocations: 36.81 MB / 0.5206 GB, free: 3.117 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.8229, allocations: 0 / 0.5206 GB, free: 3.117 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.823, allocations: 0 / 0.5206 GB, free: 3.117 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.001033/0.824, allocations: 0.4986 MB / 0.5211 GB, free: 2.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.8241, allocations: 8.031 kB / 0.5211 GB, free: 2.562 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.8241, allocations: 11.89 kB / 0.5212 GB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.8244, allocations: 183 kB / 0.5213 GB, free: 2.332 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.8244, allocations: 4 kB / 0.5213 GB, free: 2.328 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.8245, allocations: 8 kB / 0.5213 GB, free: 2.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.8247, allocations: 55.39 kB / 0.5214 GB, free: 2.254 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.8247, allocations: 0 / 0.5214 GB, free: 2.254 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.8247, allocations: 4 kB / 0.5214 GB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.8247, allocations: 0 / 0.5214 GB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.8249, allocations: 23.92 kB / 0.5214 GB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002378/0.8251, allocations: 186.5 kB / 0.5216 GB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.8255, allocations: 77.22 kB / 0.5217 GB, free: 1.898 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2789/1.104, allocations: 1.808 MB / 0.5234 GB, free: 147.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/1.104, allocations: 34.91 kB / 0.5235 GB, free: 147.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 4.088e-06/1.104, allocations: 0 / 0.5235 GB, free: 147.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005984/1.105, allocations: 81.67 kB / 0.5235 GB, free: 147.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/1.105, allocations: 80.73 kB / 0.5236 GB, free: 147.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/1.105, allocations: 113.2 kB / 0.5237 GB, free: 147.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/1.105, allocations: 26.33 kB / 0.5238 GB, free: 147.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/1.105, allocations: 85.84 kB / 0.5238 GB, free: 147.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/1.105, allocations: 27.31 kB / 0.5239 GB, free: 147.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-06/1.106, allocations: 1.094 kB / 0.5239 GB, free: 147.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.31e-05/1.106, allocations: 318.8 kB / 0.5242 GB, free: 147.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/1.106, allocations: 15 kB / 0.5242 GB, free: 147.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/1.106, allocations: 39.67 kB / 0.5242 GB, free: 147 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/1.106, allocations: 22.17 kB / 0.5242 GB, free: 147 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/1.106, allocations: 1.688 kB / 0.5242 GB, free: 147 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004144/1.107, allocations: 84.12 kB / 0.5243 GB, free: 147 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/1.107, allocations: 6.734 kB / 0.5243 GB, free: 147 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.107, allocations: 0.5 kB / 0.5243 GB, free: 147 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/1.107, allocations: 5.562 kB / 0.5243 GB, free: 147 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/1.107, allocations: 21.78 kB / 0.5244 GB, free: 147 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/1.107, allocations: 4.422 kB / 0.5244 GB, free: 147 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/1.107, allocations: 6.078 kB / 0.5244 GB, free: 147 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/1.107, allocations: 4.281 kB / 0.5244 GB, free: 147 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 (8): * Single equations (assignments): 8 * 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 9.776e-05/1.107, allocations: 113.3 kB / 0.5245 GB, free: 146.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/1.107, allocations: 4.734 kB / 0.5245 GB, free: 146.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006503/1.108, allocations: 127.5 kB / 0.5246 GB, free: 146.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/1.108, allocations: 2.062 kB / 0.5246 GB, free: 146.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.108, allocations: 1.031 kB / 0.5246 GB, free: 146.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/1.108, allocations: 1.531 kB / 0.5246 GB, free: 146.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/1.108, allocations: 176.4 kB / 0.5248 GB, free: 146.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.108, allocations: 3.438 kB / 0.5248 GB, free: 146.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/1.108, allocations: 12.88 kB / 0.5248 GB, free: 146.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/1.108, allocations: 1.281 kB / 0.5248 GB, free: 146.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/1.108, allocations: 2.984 kB / 0.5248 GB, free: 146.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/1.108, allocations: 1.031 kB / 0.5248 GB, free: 146.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.108, allocations: 5.719 kB / 0.5248 GB, free: 146.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005857/1.109, allocations: 147 kB / 0.5249 GB, free: 146.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/1.109, allocations: 94.64 kB / 0.525 GB, free: 146.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/1.109, allocations: 2.469 kB / 0.525 GB, free: 146.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-05/1.109, allocations: 8.359 kB / 0.525 GB, free: 146.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/1.109, allocations: 10.19 kB / 0.5251 GB, free: 146.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/1.109, allocations: 3.062 kB / 0.5251 GB, free: 146.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.496e-05/1.11, allocations: 92.52 kB / 0.5251 GB, free: 146.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.32e-07/1.11, allocations: 0 / 0.5251 GB, free: 146.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001256/1.111, allocations: 190.6 kB / 0.5253 GB, free: 146.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001552/1.112, allocations: 370.3 kB / 0.5257 GB, free: 146.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004237/1.113, allocations: 50.5 kB / 0.5257 GB, free: 146.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.748e-06/1.113, allocations: 0 / 0.5257 GB, free: 146.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000183/1.113, allocations: 31.33 kB / 0.5258 GB, free: 146.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/1.113, allocations: 12.47 kB / 0.5258 GB, free: 146.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009875/1.114, allocations: 362 kB / 0.5261 GB, free: 146.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/1.115, allocations: 0.6896 MB / 0.5268 GB, free: 145.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001896/1.115, allocations: 34.89 kB / 0.5268 GB, free: 145.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.698e-05/1.115, allocations: 21.78 kB / 0.5268 GB, free: 145.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/1.115, allocations: 0 / 0.5268 GB, free: 145.4 MB / 410.7 MB Notification: Performance of Templates: time 0.01546/1.13, allocations: 3.527 MB / 0.5303 GB, free: 145.1 MB / 410.7 MB