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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 91.81 kB / 16.65 MB, free: 6.59 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.001378/0.001378, allocations: 183.4 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.3 MB / 241.6 MB, free: 14.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002352/0.0002352, allocations: 11.94 kB / 301.4 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08293/0.08318, allocations: 50.42 MB / 351.8 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0005295/0.08375, allocations: 236.5 kB / 352.1 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.08534, allocations: 1.399 MB / 353.5 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.357e-05/0.08537, allocations: 0 / 353.5 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.014e-05/0.08539, allocations: 4 kB / 353.5 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.799e-05/0.08542, allocations: 0 / 353.5 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.08592, allocations: 136.5 kB / 353.6 MB, free: 1.684 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.967e-05/0.08597, allocations: 11.98 kB / 353.6 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.08601, allocations: 4 kB / 353.6 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.447e-05/0.08606, allocations: 12 kB / 353.6 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.403e-05/0.08612, allocations: 11.92 kB / 353.6 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.08614, allocations: 4 kB / 353.6 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.08632, allocations: 119.8 kB / 353.8 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.08634, allocations: 7.984 kB / 353.8 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.08638, allocations: 33.62 kB / 353.8 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.08656, allocations: 111.8 kB / 353.9 MB, free: 1.367 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.08657, allocations: 0 / 353.9 MB, free: 1.367 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.08658, allocations: 3.938 kB / 353.9 MB, free: 1.363 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.08659, allocations: 3.938 kB / 353.9 MB, free: 1.359 MB / 286.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.0002932/0.08689, allocations: 343.5 kB / 354.3 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.08693, allocations: 12.03 kB / 354.3 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.08696, allocations: 0.9375 kB / 354.3 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.08707, allocations: 164.4 kB / 354.4 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.08709, allocations: 384 / 354.4 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.0871, allocations: 8.125 kB / 354.4 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.626e-05/0.08719, allocations: 29.7 kB / 354.5 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.08721, allocations: 0 / 354.5 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.08722, allocations: 0 / 354.5 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.08723, allocations: 7.938 kB / 354.5 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.08726, allocations: 0 / 354.5 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.08764, allocations: 485.1 kB / 354.9 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.976e-05/0.08773, allocations: 169.2 kB / 355.1 MB, free: 16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.08776, allocations: 80.14 kB / 355.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.08779, allocations: 79.28 kB / 355.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.08784, allocations: 105.8 kB / 355.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.08784, allocations: 0 / 355.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.643e-05/0.08791, allocations: 37.62 kB / 355.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.08798, allocations: 152.4 kB / 355.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.986e-05/0.08807, allocations: 105.9 kB / 355.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.0881, allocations: 29.69 kB / 355.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.08815, allocations: 92.08 kB / 355.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.08816, allocations: 0 / 355.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.08818, allocations: 9.719 kB / 355.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.08828, allocations: 318.8 kB / 356.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.0883, allocations: 0 / 356.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.485e-05/0.08833, allocations: 4 kB / 356.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.322e-05/0.08836, allocations: 8.859 kB / 356.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.08837, allocations: 96 / 356.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001047/0.08848, allocations: 57.52 kB / 356.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.0885, allocations: 4 kB / 356.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.08851, allocations: 3.938 kB / 356.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.08852, allocations: 0 / 356.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-05/0.08857, allocations: 4.25 kB / 356.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.08858, allocations: 0 / 356.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.998e-05/0.08862, allocations: 4 kB / 356.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.08864, allocations: 4 kB / 356.2 MB, free: 14.84 MB / 302.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.069e-05/0.08874, allocations: 193.1 kB / 356.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.818e-05/0.0888, allocations: 105 kB / 356.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/0.08885, allocations: 108.5 kB / 356.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.233e-05/0.0889, allocations: 180.3 kB / 356.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.178e-05/0.08896, allocations: 180.2 kB / 356.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.216e-05/0.08902, allocations: 184.2 kB / 357.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.08923, allocations: 413.1 kB / 357.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.829e-05/0.08926, allocations: 105 kB / 357.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.0893, allocations: 101 kB / 357.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.016e-05/0.08936, allocations: 180.2 kB / 357.9 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/0.08942, allocations: 180.3 kB / 358.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.392e-05/0.08948, allocations: 192.2 kB / 358.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.757e-05/0.08953, allocations: 176.3 kB / 358.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.08965, allocations: 307.7 kB / 358.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.08972, allocations: 186 kB / 358.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.689e-05/0.08979, allocations: 188.2 kB / 359.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.513e-05/0.08989, allocations: 105 kB / 359.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.08995, allocations: 176.3 kB / 359.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.08998, allocations: 108.9 kB / 359.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.299e-05/0.09004, allocations: 87.27 kB / 359.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09005, allocations: 0 / 359.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.09033, allocations: 36 kB / 359.6 MB, free: 11.19 MB / 302.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.0003875/0.09072, allocations: 262.1 kB / 359.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.56e-05/0.0908, allocations: 4 kB / 359.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.09081, allocations: 0 / 359.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.587e-06/0.09082, allocations: 0 / 359.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.09118, allocations: 0.5341 MB / 360.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000174/0.09136, allocations: 162.2 kB / 360.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.09158, allocations: 0.6809 MB / 361.2 MB, free: 9.504 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.191e-05/0.09167, allocations: 19.92 kB / 361.3 MB, free: 9.484 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.305e-05/0.09168, allocations: 7.438 kB / 361.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09169, allocations: 0 / 361.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of Templates: time 0.003019/0.09471, allocations: 0.8879 MB / 362.1 MB, free: 8.594 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches