Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001022, allocations: 193.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, 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.0007153/0.0007153, allocations: 95.5 kB / 299.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002004/0.0002004, allocations: 4 kB / 360.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1833, allocations: 51.41 MB / 412 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0004863/0.1838, allocations: 228.5 kB / 412.3 MB, free: 25.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1853, allocations: 1.807 MB / 414.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.454e-05/0.1853, allocations: 0 / 414.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.157e-05/0.1853, allocations: 0 / 414.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.924e-05/0.1854, allocations: 0 / 414.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.1859, allocations: 151 kB / 414.2 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.683e-05/0.1859, allocations: 11.98 kB / 414.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.186, allocations: 0 / 414.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.259e-05/0.186, allocations: 23.86 kB / 414.3 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.089e-05/0.1861, allocations: 9.172 kB / 414.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.1861, allocations: 0 / 414.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.1863, allocations: 107.9 kB / 414.4 MB, free: 23.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.1863, allocations: 8 kB / 414.4 MB, free: 23.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.1863, allocations: 33.64 kB / 414.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.1865, allocations: 127.7 kB / 414.5 MB, free: 23.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1865, allocations: 0 / 414.5 MB, free: 23.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1865, allocations: 0 / 414.5 MB, free: 23.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.1865, allocations: 0 / 414.5 MB, free: 23.34 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.0002132/0.1867, allocations: 339.5 kB / 414.9 MB, free: 22.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.1868, allocations: 8.031 kB / 414.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.1869, allocations: 4.938 kB / 414.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.65e-05/0.187, allocations: 169.9 kB / 415 MB, free: 22.74 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.187, allocations: 8.375 kB / 415.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.187, allocations: 4.125 kB / 415.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.342e-05/0.1871, allocations: 29.7 kB / 415.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.1871, allocations: 0 / 415.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1871, allocations: 0 / 415.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.1871, allocations: 0 / 415.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.933e-05/0.1871, allocations: 7.938 kB / 415.1 MB, free: 22.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.1874, allocations: 481 kB / 415.6 MB, free: 22.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.205e-05/0.1875, allocations: 169.1 kB / 415.7 MB, free: 21.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.444e-05/0.1875, allocations: 80.14 kB / 415.8 MB, free: 21.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.1875, allocations: 79.27 kB / 415.9 MB, free: 21.81 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.1875, allocations: 105.9 kB / 416 MB, free: 21.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1875, allocations: 7.938 kB / 416 MB, free: 21.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.095e-05/0.1876, allocations: 37.61 kB / 416 MB, free: 21.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.1876, allocations: 156.4 kB / 416.2 MB, free: 21.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.5e-05/0.1877, allocations: 109.8 kB / 416.3 MB, free: 21.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.1877, allocations: 25.7 kB / 416.3 MB, free: 21.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.1878, allocations: 88.12 kB / 416.4 MB, free: 21.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.1878, allocations: 0 / 416.4 MB, free: 21.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.1878, allocations: 0 / 416.4 MB, free: 21.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.065e-05/0.1878, allocations: 322.8 kB / 416.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.1878, allocations: 4 kB / 416.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.361e-05/0.1879, allocations: 0 / 416.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.99e-05/0.1879, allocations: 12.8 kB / 416.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1879, allocations: 0 / 416.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.731e-05/0.188, allocations: 41.62 kB / 416.8 MB, free: 20.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.188, allocations: 4 kB / 416.8 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.188, allocations: 0 / 416.8 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.188, allocations: 4.125 kB / 416.8 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.475e-05/0.1881, allocations: 4 kB / 416.8 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1881, allocations: 0 / 416.8 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/0.1881, allocations: 0 / 416.8 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.1881, allocations: 4 kB / 416.8 MB, free: 20.83 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 5.025e-05/0.1882, allocations: 193 kB / 417 MB, free: 20.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.1882, allocations: 116.8 kB / 417.1 MB, free: 20.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.1883, allocations: 104.5 kB / 417.2 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.1883, allocations: 180.3 kB / 417.4 MB, free: 20.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.447e-05/0.1883, allocations: 184.2 kB / 417.6 MB, free: 20.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/0.1883, allocations: 180.3 kB / 417.7 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.1885, allocations: 409.1 kB / 418.1 MB, free: 19.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.1885, allocations: 105 kB / 418.2 MB, free: 19.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.14e-05/0.1885, allocations: 109 kB / 418.3 MB, free: 19.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.73e-05/0.1885, allocations: 180.2 kB / 418.5 MB, free: 18.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.1885, allocations: 180.3 kB / 418.7 MB, free: 18.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.682e-05/0.1886, allocations: 180.2 kB / 418.9 MB, free: 18.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.842e-05/0.1886, allocations: 180.2 kB / 419 MB, free: 18.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.168e-05/0.1886, allocations: 311.7 kB / 419.3 MB, free: 18.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.1887, allocations: 182.1 kB / 419.5 MB, free: 17.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.1887, allocations: 188.2 kB / 419.7 MB, free: 17.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.1888, allocations: 101 kB / 419.8 MB, free: 17.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.1888, allocations: 184.2 kB / 420 MB, free: 17.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.1888, allocations: 113.2 kB / 420.1 MB, free: 17.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.781e-05/0.1889, allocations: 91.27 kB / 420.2 MB, free: 17.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1889, allocations: 0 / 420.2 MB, free: 17.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002699/0.1892, allocations: 36 kB / 420.2 MB, free: 17.17 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.0003142/0.1895, allocations: 280.7 kB / 420.5 MB, free: 16.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.069e-05/0.1896, allocations: 4 kB / 420.5 MB, free: 16.9 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1896, allocations: 0 / 420.5 MB, free: 16.9 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.1896, allocations: 3.938 kB / 420.5 MB, free: 16.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.1898, allocations: 0.5263 MB / 421 MB, free: 16.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001314/0.19, allocations: 166.1 kB / 421.2 MB, free: 16.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.89e-05/0.19, allocations: 0.6769 MB / 421.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.915e-05/0.1901, allocations: 15.92 kB / 421.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.043e-05/0.1901, allocations: 7.438 kB / 421.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.1901, allocations: 0 / 421.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of Templates: time 0.002418/0.1926, allocations: 0.9296 MB / 422.8 MB, free: 14.52 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches