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.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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 194.9 MB / 212.3 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003578, allocations: 8 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09786/0.09825, allocations: 44.5 MB / 309 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5671/0.6654, allocations: 187.2 MB / 496.2 MB, free: 5.242 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.6657, allocations: 78.58 kB / 496.2 MB, free: 5.199 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1626/0.8284, allocations: 36.81 MB / 0.5206 GB, free: 3.734 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.8284, allocations: 0 / 0.5206 GB, free: 3.734 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.8284, allocations: 0 / 0.5206 GB, free: 3.734 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.001045/0.8295, allocations: 0.5026 MB / 0.5211 GB, free: 3.184 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.8295, allocations: 8.031 kB / 0.5211 GB, free: 3.176 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.8296, allocations: 7.906 kB / 0.5211 GB, free: 3.168 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.8299, allocations: 183 kB / 0.5212 GB, free: 2.949 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.8299, allocations: 0 / 0.5212 GB, free: 2.949 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.8299, allocations: 8 kB / 0.5212 GB, free: 2.941 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.8301, allocations: 67.33 kB / 0.5213 GB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.8302, allocations: 0 / 0.5213 GB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.8302, allocations: 0 / 0.5213 GB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.8302, allocations: 0 / 0.5213 GB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.8303, allocations: 27.95 kB / 0.5213 GB, free: 2.836 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.8306, allocations: 174.4 kB / 0.5215 GB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.831, allocations: 81.17 kB / 0.5216 GB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001666/0.8327, allocations: 1.817 MB / 0.5234 GB, free: 300 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.8327, allocations: 38.55 kB / 0.5234 GB, free: 252 kB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 5.38e-06/0.8328, allocations: 0 / 0.5234 GB, free: 252 kB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004619/0.8332, allocations: 81.59 kB / 0.5235 GB, free: 164 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.8333, allocations: 85.05 kB / 0.5236 GB, free: 60 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2559/1.089, allocations: 104.6 kB / 0.5237 GB, free: 148.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/1.089, allocations: 27.02 kB / 0.5237 GB, free: 148.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/1.089, allocations: 152.8 kB / 0.5238 GB, free: 148 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.402e-05/1.089, allocations: 20.61 kB / 0.5238 GB, free: 148 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/1.089, allocations: 2.125 kB / 0.5238 GB, free: 148 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.007e-05/1.09, allocations: 317 kB / 0.5241 GB, free: 147.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/1.09, allocations: 12.56 kB / 0.5242 GB, free: 147.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/1.09, allocations: 40.25 kB / 0.5242 GB, free: 147.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/1.09, allocations: 18.7 kB / 0.5242 GB, free: 147.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.09, allocations: 0.9844 kB / 0.5242 GB, free: 147.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000346/1.09, allocations: 85 kB / 0.5243 GB, free: 147.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/1.09, allocations: 9.094 kB / 0.5243 GB, free: 147.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.09, allocations: 2.188 kB / 0.5243 GB, free: 147.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/1.09, allocations: 4.969 kB / 0.5243 GB, free: 147.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/1.091, allocations: 16.88 kB / 0.5243 GB, free: 147.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/1.091, allocations: 1.531 kB / 0.5243 GB, free: 147.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.826e-05/1.091, allocations: 7.219 kB / 0.5243 GB, free: 147.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/1.091, allocations: 4.641 kB / 0.5243 GB, free: 147.7 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 7.818e-05/1.091, allocations: 116.4 kB / 0.5245 GB, free: 147.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/1.091, allocations: 10.62 kB / 0.5245 GB, free: 147.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005126/1.091, allocations: 118.2 kB / 0.5246 GB, free: 147.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/1.091, allocations: 8.297 kB / 0.5246 GB, free: 147.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/1.091, allocations: 1.641 kB / 0.5246 GB, free: 147.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.091, allocations: 3.781 kB / 0.5246 GB, free: 147.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/1.092, allocations: 178.2 kB / 0.5248 GB, free: 147.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.092, allocations: 0.5 kB / 0.5248 GB, free: 147.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/1.092, allocations: 15.73 kB / 0.5248 GB, free: 147.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/1.092, allocations: 1.031 kB / 0.5248 GB, free: 147.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/1.092, allocations: 3.375 kB / 0.5248 GB, free: 147.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/1.092, allocations: 1.125 kB / 0.5248 GB, free: 147.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.092, allocations: 0.5625 kB / 0.5248 GB, free: 147.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004922/1.092, allocations: 140.1 kB / 0.5249 GB, free: 147.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.339e-05/1.092, allocations: 99.69 kB / 0.525 GB, free: 147.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/1.093, allocations: 5.625 kB / 0.525 GB, free: 147.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/1.093, allocations: 8.328 kB / 0.525 GB, free: 147.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/1.093, allocations: 7.422 kB / 0.525 GB, free: 147.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/1.093, allocations: 3.656 kB / 0.525 GB, free: 147.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.443e-05/1.093, allocations: 89.2 kB / 0.5251 GB, free: 147.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.6e-07/1.093, allocations: 0.5938 kB / 0.5251 GB, free: 147.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009412/1.094, allocations: 188.3 kB / 0.5253 GB, free: 147.1 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.001256/1.095, allocations: 383.4 kB / 0.5257 GB, free: 147 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003615/1.095, allocations: 45.31 kB / 0.5257 GB, free: 147 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.095, allocations: 0.5625 kB / 0.5257 GB, free: 147 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/1.096, allocations: 34.17 kB / 0.5257 GB, free: 147 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/1.096, allocations: 13.03 kB / 0.5258 GB, free: 147 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007416/1.097, allocations: 381.6 kB / 0.5261 GB, free: 146.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/1.097, allocations: 0.69 MB / 0.5268 GB, free: 146.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.586e-05/1.097, allocations: 21.56 kB / 0.5268 GB, free: 146.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/1.097, allocations: 0 / 0.5268 GB, free: 146.1 MB / 410.7 MB Notification: Performance of Templates: time 0.01107/1.108, allocations: 3.684 MB / 0.5304 GB, free: 145.7 MB / 410.7 MB