Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001026/0.001027, allocations: 183 kB / 17.91 MB, free: 3.855 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.196/1.196, allocations: 205.1 MB / 223.7 MB, free: 8.492 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.0009327/0.0009324, allocations: 99.92 kB / 271.2 MB, free: 8.449 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008649/0.000865, allocations: 39.94 kB / 327.2 MB, free: 344 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1955, allocations: 46.63 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002714/0.1982, allocations: 2.308 MB / 376.1 MB, free: 43.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009318/0.1992, allocations: 0.802 MB / 376.9 MB, free: 43.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.313e-05/0.1992, allocations: 0 / 376.9 MB, free: 43.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.52e-05/0.1993, allocations: 15.08 kB / 376.9 MB, free: 43.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.276e-05/0.1994, allocations: 6.266 kB / 377 MB, free: 43.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.1998, allocations: 171.5 kB / 377.1 MB, free: 43.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.813e-05/0.1999, allocations: 21.86 kB / 377.1 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.273e-05/0.1999, allocations: 2.281 kB / 377.1 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.143e-05/0.1999, allocations: 12.81 kB / 377.2 MB, free: 43.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.2, allocations: 16.97 kB / 377.2 MB, free: 43.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.2, allocations: 1.312 kB / 377.2 MB, free: 43.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.2002, allocations: 141.5 kB / 377.3 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.2002, allocations: 5.234 kB / 377.3 MB, free: 43.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.2003, allocations: 10.19 kB / 377.3 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.2005, allocations: 133.2 kB / 377.5 MB, free: 43.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2005, allocations: 0 / 377.5 MB, free: 43.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.2005, allocations: 1.125 kB / 377.5 MB, free: 43.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.2005, allocations: 0 / 377.5 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.0002446/0.2007, allocations: 357.2 kB / 377.8 MB, free: 42.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.2008, allocations: 9.656 kB / 377.8 MB, free: 42.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.2008, allocations: 2.25 kB / 377.8 MB, free: 42.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.623e-05/0.2009, allocations: 166.5 kB / 378 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-06/0.2009, allocations: 1.531 kB / 378 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.2009, allocations: 4.375 kB / 378 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.511e-05/0.201, allocations: 42.5 kB / 378 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.201, allocations: 1.125 kB / 378 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.201, allocations: 0 / 378 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.201, allocations: 0 / 378 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.941e-05/0.201, allocations: 7.375 kB / 378 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002162/0.2013, allocations: 399.7 kB / 378.4 MB, free: 42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.54e-05/0.2013, allocations: 170.3 kB / 378.6 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.2013, allocations: 80.14 kB / 378.7 MB, free: 41.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.2013, allocations: 75.28 kB / 378.7 MB, free: 41.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.2014, allocations: 107 kB / 378.8 MB, free: 41.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.2014, allocations: 1.25 kB / 378.8 MB, free: 41.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.261e-05/0.2014, allocations: 34.83 kB / 378.9 MB, free: 41.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.2015, allocations: 161.4 kB / 379 MB, free: 41.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.916e-05/0.2016, allocations: 110.8 kB / 379.1 MB, free: 41.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.2016, allocations: 30.83 kB / 379.2 MB, free: 41.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.2016, allocations: 89.27 kB / 379.3 MB, free: 41.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.2016, allocations: 1.031 kB / 379.3 MB, free: 41.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.2016, allocations: 13.06 kB / 379.3 MB, free: 41.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.855e-05/0.2017, allocations: 328 kB / 379.6 MB, free: 40.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.2017, allocations: 6.219 kB / 379.6 MB, free: 40.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.561e-05/0.2017, allocations: 7.312 kB / 379.6 MB, free: 40.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.896e-05/0.2017, allocations: 19.39 kB / 379.6 MB, free: 40.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2018, allocations: 0.9375 kB / 379.6 MB, free: 40.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.221e-05/0.2018, allocations: 37.88 kB / 379.7 MB, free: 40.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.2018, allocations: 4.656 kB / 379.7 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.247e-06/0.2019, allocations: 1.312 kB / 379.7 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.2019, allocations: 128 / 379.7 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.653e-05/0.2019, allocations: 6.312 kB / 379.7 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-06/0.2019, allocations: 0 / 379.7 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.202, allocations: 1.25 kB / 379.7 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.202, allocations: 1.156 kB / 379.7 MB, free: 40.7 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.659e-05/0.202, allocations: 194.4 kB / 379.9 MB, free: 40.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.2021, allocations: 110.9 kB / 380 MB, free: 40.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.876e-05/0.2021, allocations: 110.4 kB / 380.1 MB, free: 40.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.2021, allocations: 181.3 kB / 380.3 MB, free: 40.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.052e-05/0.2021, allocations: 185.2 kB / 380.4 MB, free: 39.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.085e-05/0.2022, allocations: 185.4 kB / 380.6 MB, free: 39.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.2023, allocations: 408.7 kB / 381 MB, free: 39.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.2023, allocations: 106.4 kB / 381.1 MB, free: 39.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.155e-05/0.2023, allocations: 106 kB / 381.2 MB, free: 39.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.021e-05/0.2024, allocations: 181.3 kB / 381.4 MB, free: 38.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.2024, allocations: 181.4 kB / 381.6 MB, free: 38.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.971e-05/0.2024, allocations: 180.2 kB / 381.8 MB, free: 38.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-05/0.2024, allocations: 177.4 kB / 381.9 MB, free: 38.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.2026, allocations: 0.8473 MB / 382.8 MB, free: 37.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.2027, allocations: 195 kB / 383 MB, free: 37.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.2027, allocations: 178.5 kB / 383.2 MB, free: 37.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.2028, allocations: 106.2 kB / 383.3 MB, free: 36.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.2028, allocations: 185.3 kB / 383.4 MB, free: 36.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.2028, allocations: 105 kB / 383.5 MB, free: 36.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.368e-05/0.2029, allocations: 97.8 kB / 383.6 MB, free: 36.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2029, allocations: 0 / 383.6 MB, free: 36.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003874/0.2032, allocations: 40.39 kB / 383.7 MB, free: 36.52 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.0004382/0.2037, allocations: 268.2 kB / 383.9 MB, free: 36.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.531e-05/0.2038, allocations: 7.562 kB / 383.9 MB, free: 36.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2038, allocations: 1.344 kB / 383.9 MB, free: 36.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.654e-06/0.2038, allocations: 0 / 383.9 MB, free: 36.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.2041, allocations: 0.526 MB / 384.5 MB, free: 35.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001772/0.2043, allocations: 176.2 kB / 384.6 MB, free: 35.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.892e-05/0.2044, allocations: 0.6764 MB / 385.3 MB, free: 34.9 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.806e-05/0.2044, allocations: 10.56 kB / 385.3 MB, free: 34.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.154e-05/0.2045, allocations: 8.844 kB / 385.3 MB, free: 34.89 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2045, allocations: 1.375 kB / 385.3 MB, free: 34.89 MB / 298.7 MB Notification: Performance of Templates: time 0.002908/0.2074, allocations: 1.09 MB / 386.4 MB, free: 34.32 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches