Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.725/1.725, allocations: 171.1 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006455/0.0006455, allocations: 8 kB / 233.2 MB, free: 3.016 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1026, allocations: 38.77 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6037/0.7064, allocations: 181.8 MB / 453.8 MB, free: 91.87 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.7067, allocations: 81.41 kB / 453.9 MB, free: 91.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1255/0.8322, allocations: 36.36 MB / 490.2 MB, free: 69.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.8323, allocations: 0 / 490.2 MB, free: 69.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.101e-06/0.8323, allocations: 3.938 kB / 490.2 MB, free: 69.01 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.0007194/0.833, allocations: 0.4982 MB / 490.7 MB, free: 68.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.8331, allocations: 8.031 kB / 490.7 MB, free: 68.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.8331, allocations: 11.94 kB / 490.8 MB, free: 68.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.8333, allocations: 178.5 kB / 490.9 MB, free: 68.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.8333, allocations: 7.953 kB / 490.9 MB, free: 68.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.8334, allocations: 3.125 kB / 490.9 MB, free: 68.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.8335, allocations: 62.95 kB / 491 MB, free: 68.17 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.322e-06/0.8335, allocations: 0 / 491 MB, free: 68.17 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.36e-06/0.8336, allocations: 0 / 491 MB, free: 68.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.004e-06/0.8336, allocations: 4 kB / 491 MB, free: 68.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.899e-05/0.8337, allocations: 19.61 kB / 491 MB, free: 68.15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.8338, allocations: 173.6 kB / 491.2 MB, free: 67.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.8341, allocations: 84.3 kB / 491.3 MB, free: 67.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008926/0.835, allocations: 1.825 MB / 493.1 MB, free: 65.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.8351, allocations: 30.56 kB / 493.1 MB, free: 65.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.435e-06/0.8351, allocations: 0 / 493.1 MB, free: 65.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003152/0.8354, allocations: 80.53 kB / 493.2 MB, free: 65.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.8355, allocations: 84.66 kB / 493.3 MB, free: 65.42 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.516e-05/0.8355, allocations: 96.62 kB / 493.4 MB, free: 65.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.8356, allocations: 29.7 kB / 493.4 MB, free: 65.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/0.8356, allocations: 158.5 kB / 493.6 MB, free: 65.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.8357, allocations: 23.08 kB / 493.6 MB, free: 65.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-06/0.8357, allocations: 7.75 kB / 493.6 MB, free: 65.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.8357, allocations: 310.8 kB / 493.9 MB, free: 64.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.845e-05/0.8358, allocations: 15.48 kB / 493.9 MB, free: 64.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.8359, allocations: 35.36 kB / 494 MB, free: 64.74 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.414e-05/0.836, allocations: 23.55 kB / 494 MB, free: 64.72 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.689e-06/0.836, allocations: 0 / 494 MB, free: 64.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002169/0.8362, allocations: 81.05 kB / 494.1 MB, free: 64.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.8363, allocations: 11.95 kB / 494.1 MB, free: 64.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.385e-06/0.8363, allocations: 0 / 494.1 MB, free: 64.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.8363, allocations: 3.938 kB / 494.1 MB, free: 64.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.882e-05/0.8364, allocations: 23.61 kB / 494.1 MB, free: 64.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.062e-06/0.8364, allocations: 8.203 kB / 494.1 MB, free: 64.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.309e-05/0.8365, allocations: 4 kB / 494.1 MB, free: 64.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.8365, allocations: 0 / 494.1 MB, free: 64.6 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.112e-05/0.8366, allocations: 114.9 kB / 494.2 MB, free: 64.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.8366, allocations: 7.984 kB / 494.2 MB, free: 64.47 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.837, allocations: 139 kB / 494.4 MB, free: 64.35 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.842e-06/0.837, allocations: 0 / 494.4 MB, free: 64.35 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.528e-06/0.837, allocations: 4 kB / 494.4 MB, free: 64.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.245e-06/0.837, allocations: 3.938 kB / 494.4 MB, free: 64.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.8372, allocations: 173.5 kB / 494.5 MB, free: 64.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.035e-06/0.8372, allocations: 0 / 494.5 MB, free: 64.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.8373, allocations: 11.98 kB / 494.6 MB, free: 64.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.301e-06/0.8373, allocations: 0 / 494.6 MB, free: 64.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.8374, allocations: 4 kB / 494.6 MB, free: 64.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.425e-06/0.8374, allocations: 3.953 kB / 494.6 MB, free: 64.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.948e-06/0.8374, allocations: 4 kB / 494.6 MB, free: 64.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.8377, allocations: 149.5 kB / 494.7 MB, free: 63.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.8378, allocations: 96.7 kB / 494.8 MB, free: 63.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.8378, allocations: 7.891 kB / 494.8 MB, free: 63.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.689e-05/0.8379, allocations: 4.062 kB / 494.8 MB, free: 63.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.8379, allocations: 7.984 kB / 494.8 MB, free: 63.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.8379, allocations: 4 kB / 494.8 MB, free: 63.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.304e-05/0.838, allocations: 91.14 kB / 494.9 MB, free: 63.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.95e-07/0.838, allocations: 0 / 494.9 MB, free: 63.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007161/0.8387, allocations: 186.3 kB / 495.1 MB, free: 63.57 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.0008487/0.8396, allocations: 383.1 kB / 495.5 MB, free: 63.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.8398, allocations: 47.53 kB / 495.5 MB, free: 63.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.8399, allocations: 0 / 495.5 MB, free: 63.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.858e-05/0.84, allocations: 35.44 kB / 495.6 MB, free: 63.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.8401, allocations: 11.39 kB / 495.6 MB, free: 63.12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.8407, allocations: 383.5 kB / 495.9 MB, free: 62.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.8408, allocations: 0.6887 MB / 496.6 MB, free: 62 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.8409, allocations: 27.11 kB / 496.7 MB, free: 61.98 MB / 346.7 MB Notification: Performance of SimCode: time 1.252e-06/0.8409, allocations: 0 / 496.7 MB, free: 61.98 MB / 346.7 MB Notification: Performance of Templates: time 0.006587/0.8475, allocations: 3.669 MB / 0.4886 GB, free: 58.3 MB / 346.7 MB