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.001456/0.001456, allocations: 107.8 kB / 17.16 MB, free: 6.312 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.001902/0.001902, allocations: 194 kB / 18.08 MB, free: 5.406 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.329/1.329, allocations: 205.1 MB / 223.9 MB, free: 12.52 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.001305/0.001305, allocations: 51.94 kB / 280 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08052/0.08184, allocations: 46.62 MB / 326.6 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003109/0.08498, allocations: 2.317 MB / 328.9 MB, free: 2.57 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.08617, allocations: 0.8083 MB / 329.7 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.547e-05/0.08621, allocations: 0 / 329.7 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.669e-05/0.08629, allocations: 7.984 kB / 329.7 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.0864, allocations: 3.938 kB / 329.7 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.08688, allocations: 171.7 kB / 329.9 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.68e-05/0.08695, allocations: 19.86 kB / 329.9 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.649e-05/0.08698, allocations: 0 / 329.9 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.474e-05/0.08702, allocations: 12 kB / 329.9 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.891e-05/0.08708, allocations: 15.91 kB / 329.9 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.0871, allocations: 4 kB / 329.9 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.08732, allocations: 147.8 kB / 330.1 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.08734, allocations: 3.984 kB / 330.1 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.08736, allocations: 11.94 kB / 330.1 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.08757, allocations: 123.7 kB / 330.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.08759, allocations: 0 / 330.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.08759, allocations: 0 / 330.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.0876, allocations: 0 / 330.2 MB, free: 1.242 MB / 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.0003301/0.08793, allocations: 351.8 kB / 330.6 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.08797, allocations: 12.03 kB / 330.6 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.08801, allocations: 4.938 kB / 330.6 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.08815, allocations: 172.2 kB / 330.8 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.08816, allocations: 384 / 330.8 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.08817, allocations: 384 / 330.8 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.08827, allocations: 45.94 kB / 330.8 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.08828, allocations: 0 / 330.8 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.08829, allocations: 0 / 330.8 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.0883, allocations: 0 / 330.8 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.071e-05/0.08833, allocations: 4 kB / 330.8 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.08866, allocations: 404 kB / 331.2 MB, free: 132 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.773e-05/0.08876, allocations: 165.1 kB / 331.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.0888, allocations: 84.08 kB / 331.4 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.08883, allocations: 83.2 kB / 331.5 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/0.0889, allocations: 113.8 kB / 331.6 MB, free: 15.67 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.0889, allocations: 0 / 331.6 MB, free: 15.67 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.986e-05/0.08898, allocations: 29.7 kB / 331.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.233e-05/0.08907, allocations: 156.4 kB / 331.8 MB, free: 15.46 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.08918, allocations: 121.8 kB / 331.9 MB, free: 15.33 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.08921, allocations: 25.7 kB / 332 MB, free: 15.3 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.08926, allocations: 80.14 kB / 332 MB, free: 15.22 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-06/0.08927, allocations: 4 kB / 332 MB, free: 15.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.08931, allocations: 21.72 kB / 332.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.08941, allocations: 318.8 kB / 332.4 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.148e-05/0.08943, allocations: 3.938 kB / 332.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.797e-05/0.08945, allocations: 4 kB / 332.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.447e-05/0.08948, allocations: 16.8 kB / 332.4 MB, free: 14.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.08949, allocations: 0 / 332.4 MB, free: 14.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001021/0.08959, allocations: 37.81 kB / 332.4 MB, free: 14.8 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.08962, allocations: 8 kB / 332.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.08962, allocations: 0 / 332.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.08964, allocations: 4 kB / 332.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.054e-05/0.08969, allocations: 0 / 332.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.08969, allocations: 0 / 332.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.049e-05/0.08974, allocations: 0 / 332.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.08976, allocations: 7.938 kB / 332.5 MB, free: 14.78 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 0.0001006/0.08987, allocations: 193 kB / 332.6 MB, free: 14.58 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.223e-05/0.08993, allocations: 112.9 kB / 332.8 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.08998, allocations: 108.3 kB / 332.9 MB, free: 14.35 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.865e-05/0.09004, allocations: 184.2 kB / 333 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.963e-05/0.09011, allocations: 184.2 kB / 333.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.865e-05/0.09017, allocations: 184.2 kB / 333.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.09039, allocations: 413.2 kB / 333.8 MB, free: 13.33 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.111e-05/0.09043, allocations: 101 kB / 333.9 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.09047, allocations: 104.9 kB / 334 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.272e-05/0.09053, allocations: 180.3 kB / 334.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.225e-05/0.0906, allocations: 184.2 kB / 334.4 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.896e-05/0.09066, allocations: 180.3 kB / 334.5 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.977e-05/0.09073, allocations: 180.3 kB / 334.7 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.09086, allocations: 319.6 kB / 335 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.09093, allocations: 182 kB / 335.2 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.049e-05/0.09101, allocations: 176.3 kB / 335.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.175e-05/0.09111, allocations: 109 kB / 335.5 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.09118, allocations: 184.2 kB / 335.7 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.09122, allocations: 109 kB / 335.8 MB, free: 11.24 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.683e-05/0.09128, allocations: 87.28 kB / 335.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09129, allocations: 0 / 335.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.09157, allocations: 51.98 kB / 335.9 MB, free: 11.11 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.0004545/0.09203, allocations: 269.5 kB / 336.2 MB, free: 10.84 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.515e-05/0.0921, allocations: 4 kB / 336.2 MB, free: 10.84 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.09211, allocations: 0 / 336.2 MB, free: 10.84 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.49e-06/0.09212, allocations: 7.984 kB / 336.2 MB, free: 10.83 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.09249, allocations: 0.5224 MB / 336.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001871/0.09268, allocations: 170 kB / 336.9 MB, free: 10.11 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.09293, allocations: 0.677 MB / 337.5 MB, free: 9.406 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.188e-05/0.09297, allocations: 19.86 kB / 337.6 MB, free: 9.387 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.536e-05/0.09299, allocations: 7.438 kB / 337.6 MB, free: 9.379 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.093, allocations: 0 / 337.6 MB, free: 9.379 MB / 286.1 MB Notification: Performance of Templates: time 0.003195/0.0962, allocations: 1.074 MB / 338.6 MB, free: 8.305 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 -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/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