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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 108.4 kB / 18.35 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 187 kB / 19.29 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.283/1.283, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 48.3 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07843/0.0797, allocations: 46.64 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003309/0.08304, allocations: 2.26 MB / 331 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.08419, allocations: 0.7816 MB / 331.8 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.08425, allocations: 4 kB / 331.8 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.248e-05/0.08432, allocations: 7.938 kB / 331.8 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.446e-05/0.08443, allocations: 4 kB / 331.8 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.08498, allocations: 199.5 kB / 332 MB, free: 488 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.746e-05/0.08507, allocations: 27.86 kB / 332 MB, free: 460 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.171e-05/0.08511, allocations: 4 kB / 332 MB, free: 456 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.644e-05/0.08515, allocations: 11.97 kB / 332 MB, free: 444 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.08521, allocations: 15.94 kB / 332 MB, free: 428 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.08523, allocations: 0 / 332 MB, free: 428 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002741/0.08551, allocations: 187.7 kB / 332.2 MB, free: 240 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.08553, allocations: 3.984 kB / 332.2 MB, free: 236 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.08556, allocations: 15.92 kB / 332.2 MB, free: 220 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.08578, allocations: 123.7 kB / 332.4 MB, free: 96 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.08579, allocations: 0 / 332.4 MB, free: 96 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.0858, allocations: 8 kB / 332.4 MB, free: 88 kB / 270.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.08581, allocations: 0 / 332.4 MB, free: 88 kB / 270.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.0003434/0.08616, allocations: 351.4 kB / 332.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.0862, allocations: 8.031 kB / 332.7 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.08623, allocations: 4.844 kB / 332.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.08637, allocations: 172.4 kB / 332.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-06/0.08638, allocations: 384 / 332.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.0864, allocations: 384 / 332.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.871e-05/0.08648, allocations: 38.02 kB / 332.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.0865, allocations: 8 kB / 332.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.08651, allocations: 0 / 332.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.08652, allocations: 3.984 kB / 332.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.249e-05/0.08655, allocations: 7.938 kB / 333 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.08687, allocations: 396 kB / 333.3 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.978e-05/0.08695, allocations: 173.1 kB / 333.5 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.693e-05/0.08699, allocations: 84.14 kB / 333.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.08702, allocations: 75.28 kB / 333.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.08706, allocations: 109.8 kB / 333.8 MB, free: 14.52 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.08707, allocations: 0 / 333.8 MB, free: 14.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 7.283e-05/0.08715, allocations: 33.61 kB / 333.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.08723, allocations: 156.4 kB / 334 MB, free: 14.31 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.08735, allocations: 117.8 kB / 334.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.08737, allocations: 29.64 kB / 334.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.007e-05/0.08742, allocations: 88.12 kB / 334.2 MB, free: 14.06 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-06/0.08743, allocations: 0 / 334.2 MB, free: 14.06 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.08747, allocations: 13.72 kB / 334.2 MB, free: 14.04 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.08757, allocations: 314.8 kB / 334.5 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.08759, allocations: 4 kB / 334.5 MB, free: 13.72 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.558e-05/0.08762, allocations: 7.984 kB / 334.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.647e-05/0.08765, allocations: 20.83 kB / 334.5 MB, free: 13.69 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.08766, allocations: 4 kB / 334.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.283e-05/0.08776, allocations: 33.7 kB / 334.6 MB, free: 13.64 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.08778, allocations: 8 kB / 334.6 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.08779, allocations: 3.984 kB / 334.6 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.0878, allocations: 0 / 334.6 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.131e-05/0.08785, allocations: 0 / 334.6 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.08786, allocations: 4 kB / 334.6 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.758e-05/0.0879, allocations: 32 / 334.6 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.08792, allocations: 7.984 kB / 334.6 MB, free: 13.62 MB / 286.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 () * 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 9.464e-05/0.08802, allocations: 193.1 kB / 334.8 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.08809, allocations: 108.8 kB / 334.9 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.387e-05/0.08815, allocations: 112.5 kB / 335 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.967e-05/0.08821, allocations: 180.2 kB / 335.2 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.843e-05/0.08827, allocations: 180.3 kB / 335.4 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.688e-05/0.08833, allocations: 180.3 kB / 335.5 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.08855, allocations: 409.1 kB / 335.9 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.32e-05/0.08859, allocations: 113 kB / 336 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.08863, allocations: 109 kB / 336.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-05/0.0887, allocations: 176.3 kB / 336.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.942e-05/0.08875, allocations: 184.2 kB / 336.5 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.99e-05/0.08882, allocations: 184.2 kB / 336.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.787e-05/0.08888, allocations: 180.2 kB / 336.9 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.08902, allocations: 307.7 kB / 337.2 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.319e-05/0.0891, allocations: 182.1 kB / 337.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.391e-05/0.0892, allocations: 188.2 kB / 337.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.08935, allocations: 105 kB / 337.6 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.08944, allocations: 180.2 kB / 337.8 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.0895, allocations: 101 kB / 337.9 MB, free: 10.1 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.485e-05/0.08958, allocations: 95.27 kB / 338 MB, free: 10.01 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.08959, allocations: 0 / 338 MB, free: 10.01 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004702/0.09007, allocations: 48 kB / 338 MB, free: 9.961 MB / 286.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 () * 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.0004405/0.09052, allocations: 278 kB / 338.3 MB, free: 9.684 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.81e-05/0.09059, allocations: 7.938 kB / 338.3 MB, free: 9.676 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.0906, allocations: 0 / 338.3 MB, free: 9.676 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.09061, allocations: 0 / 338.3 MB, free: 9.676 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.09095, allocations: 463.6 kB / 338.8 MB, free: 9.219 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001983/0.09116, allocations: 180.3 kB / 338.9 MB, free: 9.016 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.0914, allocations: 0.6768 MB / 339.6 MB, free: 8.312 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.907e-05/0.09144, allocations: 4 kB / 339.6 MB, free: 8.309 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.09146, allocations: 7.438 kB / 339.6 MB, free: 8.301 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09146, allocations: 0 / 339.6 MB, free: 8.301 MB / 286.1 MB Notification: Performance of Templates: time 0.003424/0.09489, allocations: 1.089 MB / 340.7 MB, free: 7.211 MB / 286.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches