Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadModel(Modelica): time 1.781/1.781, allocations: 171.2 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005648/0.000565, allocations: 8 kB / 233.8 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1173, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9412/1.059, allocations: 181.8 MB / 454.4 MB, free: 91.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/1.059, allocations: 75.59 kB / 454.5 MB, free: 91.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2029/1.262, allocations: 36.37 MB / 490.9 MB, free: 68.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.776e-06/1.262, allocations: 0 / 490.9 MB, free: 68.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.415e-06/1.262, allocations: 0 / 490.9 MB, free: 68.49 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.001162/1.263, allocations: 0.502 MB / 491.4 MB, free: 67.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/1.263, allocations: 8.031 kB / 491.4 MB, free: 67.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/1.263, allocations: 7.938 kB / 491.4 MB, free: 67.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/1.264, allocations: 178.8 kB / 491.5 MB, free: 67.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/1.264, allocations: 7.953 kB / 491.6 MB, free: 67.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/1.264, allocations: 0 / 491.6 MB, free: 67.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/1.264, allocations: 67.02 kB / 491.6 MB, free: 67.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/1.264, allocations: 0 / 491.6 MB, free: 67.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/1.264, allocations: 4 kB / 491.6 MB, free: 67.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/1.264, allocations: 4 kB / 491.6 MB, free: 67.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/1.264, allocations: 19.84 kB / 491.6 MB, free: 67.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002338/1.264, allocations: 166.4 kB / 491.8 MB, free: 67.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004593/1.265, allocations: 92.95 kB / 491.9 MB, free: 67.31 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001643/1.267, allocations: 1.819 MB / 493.7 MB, free: 65.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/1.267, allocations: 34.55 kB / 493.8 MB, free: 65.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 4.388e-06/1.267, allocations: 0 / 493.8 MB, free: 65.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005855/1.267, allocations: 81.16 kB / 493.8 MB, free: 64.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/1.267, allocations: 77.11 kB / 493.9 MB, free: 64.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/1.268, allocations: 113.7 kB / 494 MB, free: 64.78 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/1.268, allocations: 29.52 kB / 494 MB, free: 64.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/1.268, allocations: 80.14 kB / 494.1 MB, free: 64.67 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/1.268, allocations: 27.41 kB / 494.2 MB, free: 64.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-06/1.268, allocations: 0 / 494.2 MB, free: 64.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.736e-05/1.268, allocations: 318.8 kB / 494.5 MB, free: 64.33 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/1.268, allocations: 15.8 kB / 494.5 MB, free: 64.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/1.268, allocations: 43.05 kB / 494.5 MB, free: 64.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/1.268, allocations: 11.94 kB / 494.5 MB, free: 64.26 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/1.268, allocations: 0 / 494.5 MB, free: 64.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003945/1.269, allocations: 89.14 kB / 494.6 MB, free: 64.17 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/1.269, allocations: 11.94 kB / 494.6 MB, free: 64.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.269, allocations: 4 kB / 494.6 MB, free: 64.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/1.269, allocations: 4.062 kB / 494.6 MB, free: 64.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/1.269, allocations: 19.92 kB / 494.7 MB, free: 64.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/1.269, allocations: 4 kB / 494.7 MB, free: 64.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/1.269, allocations: 0 / 494.7 MB, free: 64.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/1.269, allocations: 7.812 kB / 494.7 MB, free: 64.12 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 0.0001252/1.269, allocations: 109.8 kB / 494.8 MB, free: 64.01 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/1.269, allocations: 11.86 kB / 494.8 MB, free: 64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005885/1.27, allocations: 132.7 kB / 494.9 MB, free: 63.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/1.27, allocations: 3.984 kB / 494.9 MB, free: 63.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.27, allocations: 0 / 494.9 MB, free: 63.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/1.27, allocations: 4.562 kB / 494.9 MB, free: 63.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/1.27, allocations: 169 kB / 495.1 MB, free: 63.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/1.27, allocations: 4 kB / 495.1 MB, free: 63.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/1.27, allocations: 8 kB / 495.1 MB, free: 63.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/1.271, allocations: 0 / 495.1 MB, free: 63.65 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/1.271, allocations: 11.95 kB / 495.1 MB, free: 63.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/1.271, allocations: 3.984 kB / 495.1 MB, free: 63.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.271, allocations: 0 / 495.1 MB, free: 63.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005478/1.271, allocations: 145 kB / 495.3 MB, free: 63.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/1.271, allocations: 92.94 kB / 495.4 MB, free: 63.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/1.271, allocations: 3.984 kB / 495.4 MB, free: 63.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/1.271, allocations: 8.016 kB / 495.4 MB, free: 63.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/1.272, allocations: 7.812 kB / 495.4 MB, free: 63.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/1.272, allocations: 7.984 kB / 495.4 MB, free: 63.37 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.515e-05/1.272, allocations: 87.45 kB / 495.5 MB, free: 63.29 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.272, allocations: 0 / 495.5 MB, free: 63.29 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001187/1.273, allocations: 183.6 kB / 495.6 MB, free: 63.11 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.001495/1.274, allocations: 394.7 kB / 496 MB, free: 62.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004042/1.275, allocations: 47.53 kB / 496.1 MB, free: 62.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.275, allocations: 0 / 496.1 MB, free: 62.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/1.275, allocations: 27.61 kB / 496.1 MB, free: 62.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/1.275, allocations: 11.8 kB / 496.1 MB, free: 62.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000867/1.276, allocations: 353.7 kB / 496.5 MB, free: 62.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/1.276, allocations: 0.6965 MB / 497.2 MB, free: 61.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001419/1.277, allocations: 31.95 kB / 497.2 MB, free: 61.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/1.277, allocations: 23.36 kB / 497.2 MB, free: 61.52 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/1.277, allocations: 0 / 497.2 MB, free: 61.52 MB / 346.7 MB Notification: Performance of Templates: time 0.01392/1.291, allocations: 3.517 MB / 0.489 GB, free: 58.02 MB / 346.7 MB