Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadModel(Modelica): time 1.682/1.682, allocations: 171.2 MB / 187.3 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003528, allocations: 12 kB / 233.8 MB, free: 3.07 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08368/0.08406, allocations: 38.77 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7477/0.8318, allocations: 181.8 MB / 454.3 MB, free: 91.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.8321, allocations: 77.94 kB / 454.4 MB, free: 91.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1407/0.9729, allocations: 36.37 MB / 490.8 MB, free: 69.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.9729, allocations: 0 / 490.8 MB, free: 69.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.973, allocations: 4 kB / 490.8 MB, free: 69.06 MB / 346.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.0008663/0.9738, allocations: 0.4939 MB / 491.3 MB, free: 68.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.9739, allocations: 15.97 kB / 491.3 MB, free: 68.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.9739, allocations: 3.5 kB / 491.3 MB, free: 68.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.9742, allocations: 186.4 kB / 491.5 MB, free: 68.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.9742, allocations: 7.953 kB / 491.5 MB, free: 68.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.9742, allocations: 4 kB / 491.5 MB, free: 68.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.9744, allocations: 66.64 kB / 491.5 MB, free: 68.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.9744, allocations: 3.938 kB / 491.5 MB, free: 68.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.9744, allocations: 0 / 491.5 MB, free: 68.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.9745, allocations: 0 / 491.5 MB, free: 68.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.9746, allocations: 23.55 kB / 491.6 MB, free: 68.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.9748, allocations: 173.8 kB / 491.7 MB, free: 67.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.9751, allocations: 84.27 kB / 491.8 MB, free: 67.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/0.9762, allocations: 1.817 MB / 493.6 MB, free: 65.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.9763, allocations: 38.56 kB / 493.7 MB, free: 65.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.9763, allocations: 0 / 493.7 MB, free: 65.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003887/0.9767, allocations: 76.72 kB / 493.7 MB, free: 65.56 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.9767, allocations: 81.11 kB / 493.8 MB, free: 65.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.538e-05/0.9768, allocations: 109.2 kB / 493.9 MB, free: 65.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.9768, allocations: 29.7 kB / 494 MB, free: 65.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.9769, allocations: 158.5 kB / 494.1 MB, free: 65.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.9769, allocations: 22.91 kB / 494.1 MB, free: 65.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.977, allocations: 4 kB / 494.1 MB, free: 65.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.205e-05/0.977, allocations: 314.2 kB / 494.5 MB, free: 64.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.751e-05/0.9771, allocations: 19.66 kB / 494.5 MB, free: 64.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.735e-05/0.9772, allocations: 34.98 kB / 494.5 MB, free: 64.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.934e-05/0.9773, allocations: 27.67 kB / 494.5 MB, free: 64.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.9774, allocations: 0 / 494.5 MB, free: 64.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002615/0.9776, allocations: 84.64 kB / 494.6 MB, free: 64.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.9777, allocations: 8 kB / 494.6 MB, free: 64.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.9777, allocations: 0 / 494.6 MB, free: 64.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.9777, allocations: 0 / 494.6 MB, free: 64.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.9778, allocations: 19.98 kB / 494.6 MB, free: 64.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.9779, allocations: 3.938 kB / 494.6 MB, free: 64.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.4e-05/0.9779, allocations: 7.875 kB / 494.7 MB, free: 64.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.978, allocations: 4 kB / 494.7 MB, free: 64.62 MB / 346.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.723e-05/0.978, allocations: 117.5 kB / 494.8 MB, free: 64.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.9781, allocations: 7.953 kB / 494.8 MB, free: 64.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004053/0.9785, allocations: 123.1 kB / 494.9 MB, free: 64.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.9785, allocations: 7.938 kB / 494.9 MB, free: 64.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.9785, allocations: 4 kB / 494.9 MB, free: 64.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.9785, allocations: 0 / 494.9 MB, free: 64.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.9787, allocations: 169 kB / 495.1 MB, free: 64.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.9787, allocations: 0 / 495.1 MB, free: 64.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.9788, allocations: 15.92 kB / 495.1 MB, free: 64.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.9788, allocations: 0 / 495.1 MB, free: 64.15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.9789, allocations: 7.953 kB / 495.1 MB, free: 64.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.9789, allocations: 480 / 495.1 MB, free: 64.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.9789, allocations: 0 / 495.1 MB, free: 64.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.9793, allocations: 147.5 kB / 495.2 MB, free: 64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.9793, allocations: 96.52 kB / 495.3 MB, free: 63.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.9794, allocations: 4 kB / 495.3 MB, free: 63.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.576e-05/0.9795, allocations: 7.766 kB / 495.3 MB, free: 63.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.9795, allocations: 11.92 kB / 495.4 MB, free: 63.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.9795, allocations: 4 kB / 495.4 MB, free: 63.87 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.484e-05/0.9796, allocations: 98.75 kB / 495.5 MB, free: 63.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.9796, allocations: 0 / 495.5 MB, free: 63.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007323/0.9803, allocations: 182.8 kB / 495.6 MB, free: 63.61 MB / 346.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.0009672/0.9813, allocations: 381.7 kB / 496 MB, free: 63.24 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.9816, allocations: 51.86 kB / 496.1 MB, free: 63.19 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.9816, allocations: 3.188 kB / 496.1 MB, free: 63.19 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.9818, allocations: 27.73 kB / 496.1 MB, free: 63.17 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.982, allocations: 11.88 kB / 496.1 MB, free: 63.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006306/0.9826, allocations: 379 kB / 496.5 MB, free: 62.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.9828, allocations: 0.6887 MB / 497.2 MB, free: 62.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.22e-05/0.9828, allocations: 23.3 kB / 497.2 MB, free: 62.02 MB / 346.7 MB Notification: Performance of SimCode: time 7.01e-07/0.9828, allocations: 0 / 497.2 MB, free: 62.02 MB / 346.7 MB Notification: Performance of Templates: time 0.008537/0.9914, allocations: 3.674 MB / 0.4891 GB, free: 58.35 MB / 346.7 MB