Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000959/0.0009588, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 221.5 MB / 230.3 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008882/0.0008884, allocations: 79.62 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.357e-05/1.357e-05, allocations: 4 kB / 337 MB, free: 10.05 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 50.41 MB / 387.4 MB, free: 7.594 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3843/0.4904, allocations: 75.48 MB / 462.9 MB, free: 3.422 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.4907, allocations: 67.97 kB / 463 MB, free: 3.355 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01519/0.5059, allocations: 5.226 MB / 468.2 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.506, allocations: 0 / 468.2 MB, free: 14.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.506, allocations: 0 / 468.2 MB, free: 14.14 MB / 346.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.000329/0.5063, allocations: 346.4 kB / 468.6 MB, free: 13.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.5064, allocations: 8.031 kB / 468.6 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.5064, allocations: 4.578 kB / 468.6 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.5066, allocations: 171 kB / 468.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.5066, allocations: 0 / 468.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.5066, allocations: 0 / 468.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.147e-05/0.5066, allocations: 7.938 kB / 468.7 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.189e-05/0.5067, allocations: 33.7 kB / 468.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.5067, allocations: 0 / 468.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.5068, allocations: 0 / 468.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.5068, allocations: 3.953 kB / 468.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.5072, allocations: 453.6 kB / 469.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.5073, allocations: 173.1 kB / 469.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.5074, allocations: 80.14 kB / 469.5 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.5074, allocations: 79.22 kB / 469.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.5075, allocations: 105.8 kB / 469.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.5075, allocations: 0 / 469.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 7.598e-05/0.5075, allocations: 33.66 kB / 469.7 MB, free: 12.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.5076, allocations: 81.09 kB / 469.8 MB, free: 12.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.698e-05/0.5077, allocations: 105 kB / 469.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.5077, allocations: 25.7 kB / 469.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.5078, allocations: 84.14 kB / 470 MB, free: 12.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.466e-06/0.5078, allocations: 4 kB / 470 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-06/0.5078, allocations: 3.938 kB / 470 MB, free: 12.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5079, allocations: 310.8 kB / 470.3 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.5079, allocations: 0 / 470.3 MB, free: 11.85 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.255e-05/0.508, allocations: 7.984 kB / 470.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.91e-05/0.508, allocations: 12.09 kB / 470.3 MB, free: 11.83 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.508, allocations: 3.938 kB / 470.3 MB, free: 11.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001153/0.5082, allocations: 41.59 kB / 470.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.5082, allocations: 5.25 kB / 470.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5082, allocations: 4 kB / 470.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5082, allocations: 0 / 470.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.489e-05/0.5083, allocations: 0 / 470.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.5083, allocations: 0 / 470.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.611e-05/0.5083, allocations: 7.953 kB / 470.4 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.5083, allocations: 4.031 kB / 470.4 MB, free: 11.76 MB / 346.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 () * 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.0001077/0.5085, allocations: 180.2 kB / 470.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-05/0.5085, allocations: 109 kB / 470.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.503e-05/0.5086, allocations: 108.9 kB / 470.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.539e-05/0.5087, allocations: 176.3 kB / 470.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.886e-05/0.5087, allocations: 184.3 kB / 471.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.782e-05/0.5088, allocations: 188.2 kB / 471.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.509, allocations: 385.7 kB / 471.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.67e-05/0.5091, allocations: 105 kB / 471.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.5091, allocations: 104.9 kB / 471.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-05/0.5092, allocations: 180.3 kB / 472 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.604e-05/0.5092, allocations: 180.3 kB / 472.2 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.964e-05/0.5093, allocations: 184.2 kB / 472.4 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.056e-05/0.5094, allocations: 180.2 kB / 472.6 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.5095, allocations: 303.7 kB / 472.9 MB, free: 9.086 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.309e-05/0.5096, allocations: 182.1 kB / 473.1 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.593e-05/0.5097, allocations: 188.2 kB / 473.2 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.5098, allocations: 104.9 kB / 473.3 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.5099, allocations: 180.2 kB / 473.5 MB, free: 8.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.5099, allocations: 101 kB / 473.6 MB, free: 8.293 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.274e-05/0.5099, allocations: 87.53 kB / 473.7 MB, free: 8.207 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5099, allocations: 3.938 kB / 473.7 MB, free: 8.203 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002965/0.5102, allocations: 47.92 kB / 473.8 MB, free: 8.156 MB / 346.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 () * 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.0004556/0.5107, allocations: 261.4 kB / 474 MB, free: 7.906 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.052e-05/0.5108, allocations: 4.609 kB / 474 MB, free: 7.902 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.5108, allocations: 4.062 kB / 474 MB, free: 7.898 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.5108, allocations: 0 / 474 MB, free: 7.898 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.5111, allocations: 0.5241 MB / 474.5 MB, free: 7.371 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001998/0.5113, allocations: 135.2 kB / 474.7 MB, free: 7.215 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.5116, allocations: 0.6768 MB / 475.3 MB, free: 6.512 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.762e-05/0.5117, allocations: 23.91 kB / 475.4 MB, free: 6.488 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.295e-05/0.5117, allocations: 7.438 kB / 475.4 MB, free: 6.48 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5117, allocations: 0 / 475.4 MB, free: 6.48 MB / 346.7 MB Notification: Performance of Templates: time 0.002965/0.5147, allocations: 0.8478 MB / 476.2 MB, free: 5.637 MB / 346.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