Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009011/0.0009012, allocations: 183.2 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 225.7 MB / 243.2 MB, free: 8.512 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007515/0.0007515, allocations: 96 kB / 294.4 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002344/0.0002345, allocations: 11.94 kB / 354.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1873, allocations: 50.42 MB / 404.6 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0004919/0.1878, allocations: 235.8 kB / 404.8 MB, free: 31.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.189, allocations: 1.515 MB / 406.3 MB, free: 29.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.354e-05/0.189, allocations: 0 / 406.3 MB, free: 29.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.598e-06/0.1891, allocations: 0 / 406.3 MB, free: 29.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.355e-05/0.1891, allocations: 3.938 kB / 406.3 MB, free: 29.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.1895, allocations: 135.4 kB / 406.5 MB, free: 29.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.552e-05/0.1896, allocations: 23.91 kB / 406.5 MB, free: 29.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.1896, allocations: 0 / 406.5 MB, free: 29.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.073e-05/0.1897, allocations: 8 kB / 406.5 MB, free: 29.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.856e-05/0.1897, allocations: 16.45 kB / 406.5 MB, free: 29.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.1897, allocations: 0 / 406.5 MB, free: 29.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.1899, allocations: 106.9 kB / 406.6 MB, free: 29.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.1899, allocations: 4 kB / 406.6 MB, free: 29.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.1899, allocations: 37.62 kB / 406.6 MB, free: 29.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.1901, allocations: 111.8 kB / 406.8 MB, free: 29.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1901, allocations: 0 / 406.8 MB, free: 29.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1901, allocations: 3.938 kB / 406.8 MB, free: 29.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.1901, allocations: 0 / 406.8 MB, free: 29.08 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002239/0.1903, allocations: 338 kB / 407.1 MB, free: 28.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.1904, allocations: 11.97 kB / 407.1 MB, free: 28.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.1904, allocations: 0.9375 kB / 407.1 MB, free: 28.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.219e-05/0.1905, allocations: 174.8 kB / 407.3 MB, free: 28.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.1905, allocations: 384 / 407.3 MB, free: 28.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.1905, allocations: 4.125 kB / 407.3 MB, free: 28.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.479e-05/0.1906, allocations: 33.64 kB / 407.3 MB, free: 28.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.1906, allocations: 0 / 407.3 MB, free: 28.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1906, allocations: 0 / 407.3 MB, free: 28.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.1906, allocations: 2.125 kB / 407.3 MB, free: 28.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.643e-05/0.1906, allocations: 4 kB / 407.3 MB, free: 28.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.1909, allocations: 474.6 kB / 407.8 MB, free: 27.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.495e-05/0.1909, allocations: 172.5 kB / 407.9 MB, free: 27.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.355e-05/0.191, allocations: 84.08 kB / 408 MB, free: 27.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.191, allocations: 75.28 kB / 408.1 MB, free: 27.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.191, allocations: 113.8 kB / 408.2 MB, free: 27.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.191, allocations: 0 / 408.2 MB, free: 27.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.762e-05/0.1911, allocations: 33.61 kB / 408.2 MB, free: 27.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.1911, allocations: 156.4 kB / 408.4 MB, free: 27.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.984e-05/0.1912, allocations: 109.9 kB / 408.5 MB, free: 27.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.233e-06/0.1912, allocations: 25.7 kB / 408.5 MB, free: 27.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.1912, allocations: 84.12 kB / 408.6 MB, free: 27.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.1912, allocations: 3.984 kB / 408.6 MB, free: 27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.1912, allocations: 0 / 408.6 MB, free: 27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.955e-05/0.1913, allocations: 326.8 kB / 408.9 MB, free: 26.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.1913, allocations: 3.938 kB / 408.9 MB, free: 26.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.369e-05/0.1913, allocations: 4 kB / 408.9 MB, free: 26.67 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.834e-05/0.1913, allocations: 4.859 kB / 408.9 MB, free: 26.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1914, allocations: 0 / 408.9 MB, free: 26.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.821e-05/0.1914, allocations: 37.69 kB / 409 MB, free: 26.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.1915, allocations: 11.94 kB / 409 MB, free: 26.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.1915, allocations: 4.125 kB / 409 MB, free: 26.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.1915, allocations: 0 / 409 MB, free: 26.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.05e-05/0.1915, allocations: 0 / 409 MB, free: 26.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.1915, allocations: 0 / 409 MB, free: 26.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.758e-05/0.1916, allocations: 8 kB / 409 MB, free: 26.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1916, allocations: 3.938 kB / 409 MB, free: 26.59 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.982e-05/0.1916, allocations: 193.6 kB / 409.2 MB, free: 26.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.1917, allocations: 112.9 kB / 409.3 MB, free: 26.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.182e-05/0.1917, allocations: 112.5 kB / 409.4 MB, free: 26.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.1917, allocations: 184.2 kB / 409.6 MB, free: 25.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.128e-05/0.1918, allocations: 180.3 kB / 409.8 MB, free: 25.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/0.1918, allocations: 184.4 kB / 410 MB, free: 25.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.1919, allocations: 413.1 kB / 410.4 MB, free: 25.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.1919, allocations: 109 kB / 410.5 MB, free: 25.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-05/0.1919, allocations: 104.9 kB / 410.6 MB, free: 24.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.068e-05/0.192, allocations: 180.3 kB / 410.7 MB, free: 24.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.192, allocations: 180.2 kB / 410.9 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.898e-05/0.192, allocations: 176.3 kB / 411.1 MB, free: 24.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.867e-05/0.192, allocations: 180.2 kB / 411.3 MB, free: 24.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.684e-05/0.1921, allocations: 311.7 kB / 411.6 MB, free: 23.85 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.1922, allocations: 190 kB / 411.8 MB, free: 23.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.1922, allocations: 176.3 kB / 411.9 MB, free: 23.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.1923, allocations: 113 kB / 412 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.1923, allocations: 184.2 kB / 412.2 MB, free: 23.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.1923, allocations: 101 kB / 412.3 MB, free: 23.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.058e-05/0.1924, allocations: 91.27 kB / 412.4 MB, free: 22.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1924, allocations: 0 / 412.4 MB, free: 22.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.1926, allocations: 32 kB / 412.4 MB, free: 22.93 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003402/0.193, allocations: 270 kB / 412.7 MB, free: 22.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.502e-05/0.193, allocations: 7.938 kB / 412.7 MB, free: 22.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1931, allocations: 0 / 412.7 MB, free: 22.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.1931, allocations: 3.938 kB / 412.7 MB, free: 22.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.1933, allocations: 0.5263 MB / 413.2 MB, free: 22.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001246/0.1934, allocations: 162 kB / 413.4 MB, free: 21.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.618e-05/0.1935, allocations: 0.677 MB / 414.1 MB, free: 21.24 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.864e-05/0.1936, allocations: 19.95 kB / 414.1 MB, free: 21.22 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.03e-05/0.1936, allocations: 7.438 kB / 414.1 MB, free: 21.21 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1936, allocations: 0 / 414.1 MB, free: 21.21 MB / 298.7 MB Notification: Performance of Templates: time 0.002357/0.196, allocations: 0.899 MB / 415 MB, free: 20.32 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches