Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 191.5 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007541/0.0007541, allocations: 103.5 kB / 299.9 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001986/0.0001986, allocations: 4 kB / 360.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1788, allocations: 51.42 MB / 412 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.000955/0.1798, allocations: 1.073 MB / 413.1 MB, free: 24.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003723/0.1836, allocations: 6.563 MB / 419.7 MB, free: 17.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.1836, allocations: 0 / 419.7 MB, free: 17.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.1836, allocations: 3.984 kB / 419.7 MB, free: 17.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006492/0.1843, allocations: 239.2 kB / 419.9 MB, free: 17.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006764/0.185, allocations: 430.6 kB / 420.3 MB, free: 16.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.233e-05/0.185, allocations: 63.66 kB / 420.4 MB, free: 16.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.199e-05/0.1851, allocations: 0 / 420.4 MB, free: 16.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.954e-05/0.1852, allocations: 31.86 kB / 420.4 MB, free: 16.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005414/0.1857, allocations: 375.2 kB / 420.8 MB, free: 16.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.1857, allocations: 0 / 420.8 MB, free: 16.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006768/0.1864, allocations: 0.5389 MB / 421.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.1864, allocations: 3.984 kB / 421.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.1865, allocations: 53.52 kB / 421.4 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005286/0.187, allocations: 452.7 kB / 421.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.187, allocations: 0 / 421.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.187, allocations: 0 / 421.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.935e-06/0.187, allocations: 0 / 421.8 MB, free: 15.46 MB / 298.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.0003411/0.1874, allocations: 431.2 kB / 422.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.1874, allocations: 11.97 kB / 422.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.42e-05/0.1875, allocations: 12.84 kB / 422.3 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.1876, allocations: 184.3 kB / 422.5 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1876, allocations: 4.375 kB / 422.5 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1877, allocations: 11.84 kB / 422.5 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.1878, allocations: 55.39 kB / 422.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1878, allocations: 4 kB / 422.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.1878, allocations: 0 / 422.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.1878, allocations: 0 / 422.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.9e-05/0.1879, allocations: 31.91 kB / 422.6 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.188, allocations: 166.5 kB / 422.7 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.1882, allocations: 81.16 kB / 422.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/0.1883, allocations: 29.75 kB / 422.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005306/0.1888, allocations: 1.544 MB / 424.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.253e-05/0.1889, allocations: 38.56 kB / 424.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.1889, allocations: 0 / 424.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.000225/0.1891, allocations: 77.59 kB / 424.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.1891, allocations: 81.11 kB / 424.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.433e-05/0.1892, allocations: 117.8 kB / 424.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.1892, allocations: 29.7 kB / 424.7 MB, free: 12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.719e-05/0.1892, allocations: 84.14 kB / 424.8 MB, free: 11.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.1893, allocations: 23.64 kB / 424.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.1893, allocations: 4 kB / 424.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.1893, allocations: 310.8 kB / 425.1 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.903e-05/0.1894, allocations: 15.98 kB / 425.1 MB, free: 11.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.003e-05/0.1894, allocations: 47.36 kB / 425.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.809e-05/0.1895, allocations: 51.42 kB / 425.2 MB, free: 11.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1895, allocations: 3.938 kB / 425.2 MB, free: 11.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001471/0.1897, allocations: 85.44 kB / 425.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.1897, allocations: 16 kB / 425.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1897, allocations: 0 / 425.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.1897, allocations: 0 / 425.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/0.1898, allocations: 16 kB / 425.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1898, allocations: 3.984 kB / 425.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.959e-05/0.1899, allocations: 11.94 kB / 425.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.1899, allocations: 0 / 425.4 MB, free: 11.3 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.216e-05/0.1899, allocations: 126.3 kB / 425.5 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.19, allocations: 7.906 kB / 425.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.1902, allocations: 117.5 kB / 425.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1902, allocations: 0.5625 kB / 425.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1902, allocations: 7.984 kB / 425.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1903, allocations: 0 / 425.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.793e-05/0.1903, allocations: 173.6 kB / 425.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1904, allocations: 3.984 kB / 425.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.245e-05/0.1904, allocations: 12 kB / 425.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1904, allocations: 0 / 425.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1905, allocations: 4 kB / 425.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1905, allocations: 3.938 kB / 425.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1905, allocations: 0 / 425.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.1907, allocations: 149.8 kB / 426 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.1907, allocations: 101 kB / 426.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.1907, allocations: 0 / 426.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.848e-05/0.1908, allocations: 3.984 kB / 426.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.1908, allocations: 4 kB / 426.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.1908, allocations: 4 kB / 426.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.703e-05/0.1909, allocations: 91.27 kB / 426.2 MB, free: 10.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1909, allocations: 0 / 426.2 MB, free: 10.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000317/0.1912, allocations: 135.9 kB / 426.3 MB, free: 10.27 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004649/0.1917, allocations: 319.2 kB / 426.6 MB, free: 9.957 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.1918, allocations: 47.91 kB / 426.7 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1918, allocations: 0 / 426.7 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.1919, allocations: 27.98 kB / 426.7 MB, free: 9.883 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.1921, allocations: 15.92 kB / 426.7 MB, free: 9.867 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.1925, allocations: 335.6 kB / 427 MB, free: 9.508 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.855e-05/0.1925, allocations: 0.6887 MB / 427.7 MB, free: 8.793 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.671e-05/0.1926, allocations: 31.91 kB / 427.8 MB, free: 8.762 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.1927, allocations: 23.36 kB / 427.8 MB, free: 8.738 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1927, allocations: 0 / 427.8 MB, free: 8.738 MB / 298.7 MB Notification: Performance of Templates: time 0.004746/0.1974, allocations: 2.983 MB / 430.8 MB, free: 5.754 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)