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.001518/0.001518, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 96.05 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.548e-05/2.575e-05, allocations: 4 kB / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3504, allocations: 47.55 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.4789, allocations: 75.8 MB / 438.1 MB, free: 10.53 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.4793, allocations: 73.78 kB / 438.2 MB, free: 10.46 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02575/0.505, allocations: 5.228 MB / 443.4 MB, free: 5.27 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5051, allocations: 0 / 443.4 MB, free: 5.27 MB / 331.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.5051, allocations: 0 / 443.4 MB, free: 5.27 MB / 331.1 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.0004068/0.5055, allocations: 352.7 kB / 443.8 MB, free: 4.883 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.5056, allocations: 8.875 kB / 443.8 MB, free: 4.875 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.5056, allocations: 4.625 kB / 443.8 MB, free: 4.871 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.5058, allocations: 174.9 kB / 443.9 MB, free: 4.66 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.5059, allocations: 0 / 443.9 MB, free: 4.66 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.5059, allocations: 3.953 kB / 444 MB, free: 4.656 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.36e-05/0.5059, allocations: 4 kB / 444 MB, free: 4.652 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.457e-05/0.506, allocations: 37.58 kB / 444 MB, free: 4.609 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.497e-06/0.5061, allocations: 0 / 444 MB, free: 4.609 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.5061, allocations: 0 / 444 MB, free: 4.609 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5061, allocations: 0.5625 kB / 444 MB, free: 4.609 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.5065, allocations: 380.7 kB / 444.4 MB, free: 4.199 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.5066, allocations: 169.1 kB / 444.5 MB, free: 4.023 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.5067, allocations: 80.14 kB / 444.6 MB, free: 3.941 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.824e-05/0.5067, allocations: 79.28 kB / 444.7 MB, free: 3.863 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.558e-05/0.5068, allocations: 109.8 kB / 444.8 MB, free: 3.746 MB / 331.1 MB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.5068, allocations: 1.594 kB / 444.8 MB, free: 3.746 MB / 331.1 MB Notification: Performance of matching and sorting (n=0): time 8.565e-05/0.5069, allocations: 33.64 kB / 444.8 MB, free: 3.707 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.507, allocations: 85.09 kB / 444.9 MB, free: 3.605 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.5071, allocations: 98.02 kB / 445 MB, free: 3.504 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.5071, allocations: 29.7 kB / 445 MB, free: 3.469 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.5073, allocations: 158.5 kB / 445.2 MB, free: 3.312 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.5073, allocations: 0 / 445.2 MB, free: 3.312 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.5073, allocations: 4 kB / 445.2 MB, free: 3.309 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.5075, allocations: 310.8 kB / 445.5 MB, free: 2.996 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.5075, allocations: 7.984 kB / 445.5 MB, free: 2.988 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.5075, allocations: 0 / 445.5 MB, free: 2.988 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.5076, allocations: 15.98 kB / 445.5 MB, free: 2.973 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5076, allocations: 0 / 445.5 MB, free: 2.973 MB / 331.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001715/0.5078, allocations: 49.58 kB / 445.6 MB, free: 2.918 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.5079, allocations: 4 kB / 445.6 MB, free: 2.914 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.5079, allocations: 4.125 kB / 445.6 MB, free: 2.91 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.5079, allocations: 4 kB / 445.6 MB, free: 2.906 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.405e-05/0.508, allocations: 1.031 kB / 445.6 MB, free: 2.906 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.508, allocations: 0 / 445.6 MB, free: 2.906 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.508, allocations: 2.062 kB / 445.6 MB, free: 2.906 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.5081, allocations: 4 kB / 445.6 MB, free: 2.902 MB / 331.1 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 () * 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 0.0001235/0.5082, allocations: 180.2 kB / 445.8 MB, free: 2.719 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.619e-05/0.5083, allocations: 109.4 kB / 445.9 MB, free: 2.605 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.477e-05/0.5084, allocations: 116.7 kB / 446 MB, free: 2.484 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.278e-05/0.5085, allocations: 184.2 kB / 446.2 MB, free: 2.297 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.974e-05/0.5086, allocations: 184.2 kB / 446.3 MB, free: 2.109 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.863e-05/0.5087, allocations: 180.2 kB / 446.5 MB, free: 1.926 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.509, allocations: 393.7 kB / 446.9 MB, free: 1.496 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.803e-05/0.509, allocations: 102.4 kB / 447 MB, free: 1.391 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-05/0.5091, allocations: 105 kB / 447.1 MB, free: 1.281 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-05/0.5092, allocations: 182.6 kB / 447.3 MB, free: 1.098 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.665e-05/0.5093, allocations: 180.3 kB / 447.5 MB, free: 0.9141 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.188e-05/0.5094, allocations: 188.1 kB / 447.6 MB, free: 0.7227 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.334e-05/0.5095, allocations: 176.3 kB / 447.8 MB, free: 0.543 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.5097, allocations: 307.8 kB / 448.1 MB, free: 224 kB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.5098, allocations: 190 kB / 448.3 MB, free: 8 kB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.5099, allocations: 179.3 kB / 448.5 MB, free: 15.83 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.5101, allocations: 101 kB / 448.6 MB, free: 15.72 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/0.5102, allocations: 188.2 kB / 448.8 MB, free: 15.53 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-05/0.5102, allocations: 113 kB / 448.9 MB, free: 15.41 MB / 347.1 MB Notification: Performance of sorting global known variables: time 8.648e-05/0.5103, allocations: 92.06 kB / 449 MB, free: 15.32 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5103, allocations: 0 / 449 MB, free: 15.32 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0004663/0.5108, allocations: 43.94 kB / 449 MB, free: 15.28 MB / 347.1 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 () * 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.0006965/0.5115, allocations: 287 kB / 449.3 MB, free: 15 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 7.253e-05/0.5116, allocations: 0 / 449.3 MB, free: 15 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.5116, allocations: 4 kB / 449.3 MB, free: 15 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 2.554e-06/0.5117, allocations: 0 / 449.3 MB, free: 15 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.5121, allocations: 0.5232 MB / 449.8 MB, free: 14.47 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.5123, allocations: 153.6 kB / 450 MB, free: 14.29 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.5126, allocations: 0.6768 MB / 450.6 MB, free: 13.59 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.5127, allocations: 11.44 kB / 450.7 MB, free: 13.58 MB / 347.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5127, allocations: 0 / 450.7 MB, free: 13.58 MB / 347.1 MB Notification: Performance of Templates: time 0.00406/0.5168, allocations: 1.197 MB / 451.8 MB, free: 12.39 MB / 347.1 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/jenkins1/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