Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 179.2 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007348/0.0007348, allocations: 91.94 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002914, allocations: 12 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1943, allocations: 47.56 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001682/0.196, allocations: 1.908 MB / 376.4 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008422/0.1969, allocations: 0.7091 MB / 377.2 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.1969, allocations: 1.094 kB / 377.2 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.973e-05/0.197, allocations: 6.094 kB / 377.2 MB, free: 43.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.1971, allocations: 9.938 kB / 377.2 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.1976, allocations: 166.4 kB / 377.3 MB, free: 43.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.318e-05/0.1976, allocations: 16.09 kB / 377.4 MB, free: 43.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.26e-05/0.1977, allocations: 0.9688 kB / 377.4 MB, free: 43.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.426e-05/0.1977, allocations: 16.77 kB / 377.4 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.1978, allocations: 17.52 kB / 377.4 MB, free: 43.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.1978, allocations: 1.125 kB / 377.4 MB, free: 43.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.198, allocations: 129.6 kB / 377.5 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.306e-06/0.198, allocations: 1.156 kB / 377.5 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.198, allocations: 26.89 kB / 377.5 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.1982, allocations: 79.05 kB / 377.6 MB, free: 43.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1982, allocations: 0 / 377.6 MB, free: 43.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1982, allocations: 1.031 kB / 377.6 MB, free: 43.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1982, allocations: 0 / 377.6 MB, free: 43.06 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.0002314/0.1984, allocations: 347.8 kB / 378 MB, free: 42.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1985, allocations: 13.91 kB / 378 MB, free: 42.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.1985, allocations: 5.188 kB / 378 MB, free: 42.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.535e-05/0.1986, allocations: 171.2 kB / 378.1 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.1986, allocations: 7.891 kB / 378.2 MB, free: 42.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.1986, allocations: 1.031 kB / 378.2 MB, free: 42.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.584e-05/0.1987, allocations: 34.11 kB / 378.2 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.1987, allocations: 0 / 378.2 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1987, allocations: 3.984 kB / 378.2 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1987, allocations: 1 kB / 378.2 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.1987, allocations: 7.219 kB / 378.2 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002271/0.199, allocations: 395.3 kB / 378.6 MB, free: 42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.508e-05/0.199, allocations: 178.4 kB / 378.8 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.277e-05/0.199, allocations: 80.14 kB / 378.8 MB, free: 41.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.669e-06/0.1991, allocations: 79.28 kB / 378.9 MB, free: 41.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.1991, allocations: 107 kB / 379 MB, free: 41.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.1991, allocations: 0 / 379 MB, free: 41.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.793e-05/0.1991, allocations: 36.05 kB / 379.1 MB, free: 41.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.1992, allocations: 156.4 kB / 379.2 MB, free: 41.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.388e-05/0.1993, allocations: 111.7 kB / 379.3 MB, free: 41.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.1993, allocations: 29.7 kB / 379.3 MB, free: 41.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.1993, allocations: 98.42 kB / 379.4 MB, free: 41.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.1993, allocations: 0 / 379.4 MB, free: 41.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-06/0.1993, allocations: 0 / 379.4 MB, free: 41.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.71e-05/0.1994, allocations: 321 kB / 379.8 MB, free: 40.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/0.1994, allocations: 1.125 kB / 379.8 MB, free: 40.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.46e-05/0.1994, allocations: 3.312 kB / 379.8 MB, free: 40.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.662e-05/0.1994, allocations: 2.219 kB / 379.8 MB, free: 40.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1994, allocations: 1.062 kB / 379.8 MB, free: 40.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.271e-05/0.1995, allocations: 49.47 kB / 379.8 MB, free: 40.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1995, allocations: 9.812 kB / 379.8 MB, free: 40.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.1995, allocations: 0 / 379.8 MB, free: 40.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.1996, allocations: 1.031 kB / 379.8 MB, free: 40.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.607e-05/0.1996, allocations: 2.062 kB / 379.8 MB, free: 40.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1996, allocations: 0 / 379.8 MB, free: 40.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.889e-05/0.1997, allocations: 5 kB / 379.8 MB, free: 40.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.1997, allocations: 5.922 kB / 379.8 MB, free: 40.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/0.1998, allocations: 187.3 kB / 380 MB, free: 40.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.1998, allocations: 106.1 kB / 380.1 MB, free: 40.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.1998, allocations: 118.2 kB / 380.2 MB, free: 40.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/0.1999, allocations: 177.3 kB / 380.4 MB, free: 40.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-05/0.1999, allocations: 181.3 kB / 380.6 MB, free: 39.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/0.1999, allocations: 181 kB / 380.8 MB, free: 39.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.2, allocations: 413.3 kB / 381.2 MB, free: 39.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.2001, allocations: 106.1 kB / 381.3 MB, free: 39.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.224e-05/0.2001, allocations: 102.6 kB / 381.4 MB, free: 39.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.126e-05/0.2001, allocations: 188.2 kB / 381.6 MB, free: 38.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.2001, allocations: 185.7 kB / 381.7 MB, free: 38.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.891e-05/0.2001, allocations: 177.7 kB / 381.9 MB, free: 38.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.976e-05/0.2002, allocations: 184.2 kB / 382.1 MB, free: 38.33 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.608e-05/0.2002, allocations: 304.5 kB / 382.4 MB, free: 38.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.2003, allocations: 195.1 kB / 382.6 MB, free: 37.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.2003, allocations: 178.7 kB / 382.7 MB, free: 37.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.2004, allocations: 110.2 kB / 382.9 MB, free: 37.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.2004, allocations: 180.2 kB / 383 MB, free: 37.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.2004, allocations: 110.2 kB / 383.1 MB, free: 37.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.495e-05/0.2005, allocations: 100.6 kB / 383.2 MB, free: 37.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2005, allocations: 0 / 383.2 MB, free: 37.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002547/0.2007, allocations: 41.59 kB / 383.3 MB, free: 37.11 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 (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.0003772/0.2011, allocations: 257.9 kB / 383.5 MB, free: 36.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.39e-05/0.2012, allocations: 3.031 kB / 383.5 MB, free: 36.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2012, allocations: 1.312 kB / 383.5 MB, free: 36.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.2012, allocations: 64 / 383.5 MB, free: 36.92 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.2014, allocations: 0.5244 MB / 384.1 MB, free: 36.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001505/0.2016, allocations: 201.6 kB / 384.3 MB, free: 36.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.299e-05/0.2017, allocations: 0.6738 MB / 384.9 MB, free: 35.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.2017, allocations: 21.61 kB / 385 MB, free: 35.46 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2017, allocations: 0 / 385 MB, free: 35.46 MB / 298.7 MB Notification: Performance of Templates: time 0.00221/0.2039, allocations: 1.112 MB / 386.1 MB, free: 34.9 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches