Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.835/1.835, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003558, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08001/0.08039, allocations: 44.51 MB / 308.4 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4461/0.5265, allocations: 187.2 MB / 495.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.5268, allocations: 75.28 kB / 495.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3478/0.8746, allocations: 36.79 MB / 0.52 GB, free: 132.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.501e-06/0.8746, allocations: 0 / 0.52 GB, free: 132.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.385e-06/0.8747, allocations: 0 / 0.52 GB, free: 132.3 MB / 394.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.0007252/0.8754, allocations: 0.4937 MB / 0.5205 GB, free: 131.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.8754, allocations: 9.625 kB / 0.5205 GB, free: 131.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.8755, allocations: 5.281 kB / 0.5205 GB, free: 131.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.8757, allocations: 184.5 kB / 0.5207 GB, free: 131.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.8757, allocations: 8.562 kB / 0.5207 GB, free: 131.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.8757, allocations: 2.75 kB / 0.5207 GB, free: 131.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.8759, allocations: 72.05 kB / 0.5208 GB, free: 131.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.892e-06/0.8759, allocations: 0 / 0.5208 GB, free: 131.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.8759, allocations: 0 / 0.5208 GB, free: 131.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.876, allocations: 4.406 kB / 0.5208 GB, free: 131.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.226e-05/0.8761, allocations: 18.36 kB / 0.5208 GB, free: 131.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.8762, allocations: 177.6 kB / 0.521 GB, free: 131.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.8765, allocations: 84.23 kB / 0.5211 GB, free: 131.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009329/0.8775, allocations: 1.812 MB / 0.5228 GB, free: 129.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.8775, allocations: 35.91 kB / 0.5229 GB, free: 129.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.639e-06/0.8775, allocations: 0 / 0.5229 GB, free: 129.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003307/0.8779, allocations: 91.45 kB / 0.523 GB, free: 129.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.8779, allocations: 78.39 kB / 0.523 GB, free: 129.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/0.878, allocations: 102.2 kB / 0.5231 GB, free: 129 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.878, allocations: 25.7 kB / 0.5232 GB, free: 129 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.8781, allocations: 155.7 kB / 0.5233 GB, free: 128.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.8781, allocations: 25.59 kB / 0.5233 GB, free: 128.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.8781, allocations: 5 kB / 0.5233 GB, free: 128.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.8782, allocations: 318.2 kB / 0.5236 GB, free: 128.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.721e-05/0.8783, allocations: 7.531 kB / 0.5236 GB, free: 128.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-05/0.8784, allocations: 42.28 kB / 0.5237 GB, free: 128.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.094e-05/0.8784, allocations: 23.78 kB / 0.5237 GB, free: 128.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.458e-06/0.8785, allocations: 0 / 0.5237 GB, free: 128.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002324/0.8787, allocations: 84.44 kB / 0.5238 GB, free: 128.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.8787, allocations: 5.844 kB / 0.5238 GB, free: 128.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.509e-06/0.8788, allocations: 4.062 kB / 0.5238 GB, free: 128.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.8788, allocations: 1.25 kB / 0.5238 GB, free: 128.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.434e-05/0.8789, allocations: 15.98 kB / 0.5238 GB, free: 128.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.708e-06/0.8789, allocations: 5.5 kB / 0.5238 GB, free: 128.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.363e-05/0.879, allocations: 2.25 kB / 0.5238 GB, free: 128.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.879, allocations: 3.562 kB / 0.5238 GB, free: 128.4 MB / 394.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 6.203e-05/0.8791, allocations: 117.1 kB / 0.5239 GB, free: 128.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.8791, allocations: 10.92 kB / 0.5239 GB, free: 128.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/0.8795, allocations: 132.2 kB / 0.5241 GB, free: 128.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.95e-06/0.8795, allocations: 1.406 kB / 0.5241 GB, free: 128.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.33e-06/0.8795, allocations: 1.688 kB / 0.5241 GB, free: 128.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.697e-06/0.8795, allocations: 0 / 0.5241 GB, free: 128.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.8797, allocations: 174.9 kB / 0.5242 GB, free: 128.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.562e-06/0.8797, allocations: 0 / 0.5242 GB, free: 128.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.8798, allocations: 9.75 kB / 0.5243 GB, free: 128.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.8798, allocations: 8.859 kB / 0.5243 GB, free: 128.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.8799, allocations: 9.281 kB / 0.5243 GB, free: 128.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.8799, allocations: 1.406 kB / 0.5243 GB, free: 128.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.725e-06/0.8799, allocations: 0 / 0.5243 GB, free: 128.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.8802, allocations: 152.7 kB / 0.5244 GB, free: 128 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.8803, allocations: 100.4 kB / 0.5245 GB, free: 127.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.8803, allocations: 1.219 kB / 0.5245 GB, free: 127.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.635e-05/0.8804, allocations: 1.969 kB / 0.5245 GB, free: 127.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.8804, allocations: 12.06 kB / 0.5245 GB, free: 127.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.8805, allocations: 1.625 kB / 0.5245 GB, free: 127.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.578e-05/0.8805, allocations: 94.55 kB / 0.5246 GB, free: 127.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.94e-07/0.8805, allocations: 7.375 kB / 0.5246 GB, free: 127.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000781/0.8813, allocations: 184.5 kB / 0.5248 GB, free: 127.8 MB / 394.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.0008776/0.8822, allocations: 387.6 kB / 0.5252 GB, free: 127.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.8824, allocations: 47.45 kB / 0.5252 GB, free: 127.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.071e-06/0.8825, allocations: 0 / 0.5252 GB, free: 127.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.8826, allocations: 32 kB / 0.5252 GB, free: 127.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.8828, allocations: 11.64 kB / 0.5253 GB, free: 127.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005542/0.8833, allocations: 378.9 kB / 0.5256 GB, free: 127.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.8835, allocations: 0.6917 MB / 0.5263 GB, free: 126.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.8836, allocations: 19.38 kB / 0.5263 GB, free: 126.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.405e-06/0.8836, allocations: 0 / 0.5263 GB, free: 126.7 MB / 394.7 MB Notification: Performance of Templates: time 0.007031/0.8906, allocations: 3.672 MB / 0.5299 GB, free: 126.1 MB / 394.7 MB