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.001287/0.001287, allocations: 114.9 kB / 17.74 MB, free: 5.324 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.001264/0.001264, allocations: 188.5 kB / 18.67 MB, free: 4.398 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.336/1.336, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009954/0.0009954, allocations: 51.86 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2683, allocations: 49.43 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001576/0.2699, allocations: 0.5024 MB / 401.9 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.2718, allocations: 1.377 MB / 403.3 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.2718, allocations: 4 kB / 403.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.2718, allocations: 0 / 403.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.552e-05/0.2719, allocations: 3.938 kB / 403.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.2725, allocations: 172 kB / 403.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.515e-05/0.2726, allocations: 19.92 kB / 403.5 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.2726, allocations: 11.98 kB / 403.5 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.122e-05/0.2727, allocations: 7.938 kB / 403.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/0.2727, allocations: 7.984 kB / 403.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.2727, allocations: 4 kB / 403.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.273, allocations: 163.8 kB / 403.7 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.273, allocations: 7.984 kB / 403.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.2731, allocations: 7.938 kB / 403.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.2733, allocations: 119.8 kB / 403.8 MB, free: 6.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2733, allocations: 0 / 403.8 MB, free: 6.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2733, allocations: 0 / 403.8 MB, free: 6.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.2733, allocations: 4 kB / 403.8 MB, free: 6.445 MB / 318.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.0003462/0.2736, allocations: 351.3 kB / 404.1 MB, free: 6.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.2737, allocations: 8.031 kB / 404.1 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.2737, allocations: 4.938 kB / 404.1 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.2739, allocations: 164.4 kB / 404.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.2739, allocations: 384 / 404.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.2739, allocations: 8.125 kB / 404.3 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9e-05/0.274, allocations: 29.7 kB / 404.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.274, allocations: 3.938 kB / 404.4 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.274, allocations: 8 kB / 404.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.274, allocations: 0 / 404.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.274, allocations: 0 / 404.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.2745, allocations: 477 kB / 404.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.105e-05/0.2745, allocations: 165.1 kB / 405 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.2746, allocations: 92.08 kB / 405.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.2746, allocations: 79.22 kB / 405.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.2747, allocations: 105.8 kB / 405.3 MB, free: 4.801 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.2747, allocations: 0 / 405.3 MB, free: 4.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 7.55e-05/0.2747, allocations: 29.61 kB / 405.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/0.2748, allocations: 160.4 kB / 405.4 MB, free: 4.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.2749, allocations: 109.9 kB / 405.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.275, allocations: 29.64 kB / 405.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.275, allocations: 84.12 kB / 405.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-06/0.275, allocations: 4 kB / 405.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.2751, allocations: 17.72 kB / 405.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2752, allocations: 314.8 kB / 406 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.2752, allocations: 0 / 406 MB, free: 4.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.888e-05/0.2752, allocations: 11.92 kB / 406 MB, free: 3.996 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.431e-05/0.2753, allocations: 12.95 kB / 406 MB, free: 3.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2753, allocations: 0 / 406 MB, free: 3.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001115/0.2754, allocations: 37.7 kB / 406.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2754, allocations: 4 kB / 406.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2754, allocations: 0 / 406.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2754, allocations: 0 / 406.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.485e-05/0.2755, allocations: 4 kB / 406.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2755, allocations: 0 / 406.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.2755, allocations: 3.984 kB / 406.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.2756, allocations: 0 / 406.1 MB, free: 3.926 MB / 318.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.0001154/0.2757, allocations: 193.1 kB / 406.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.2758, allocations: 112.8 kB / 406.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.595e-05/0.2758, allocations: 112.5 kB / 406.5 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.466e-05/0.2759, allocations: 188.2 kB / 406.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.748e-05/0.2759, allocations: 176.3 kB / 406.8 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-05/0.276, allocations: 180.3 kB / 407 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.2762, allocations: 413.1 kB / 407.4 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.185e-05/0.2763, allocations: 101 kB / 407.5 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.2763, allocations: 108.9 kB / 407.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.819e-05/0.2764, allocations: 176.3 kB / 407.8 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.623e-05/0.2765, allocations: 184.5 kB / 408 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.352e-05/0.2765, allocations: 184.2 kB / 408.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-05/0.2766, allocations: 184.5 kB / 408.3 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.2768, allocations: 311.7 kB / 408.6 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.552e-05/0.2768, allocations: 186 kB / 408.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/0.2769, allocations: 180.3 kB / 409 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.87e-05/0.277, allocations: 105 kB / 409.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.2771, allocations: 180.2 kB / 409.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.947e-05/0.2772, allocations: 112.9 kB / 409.4 MB, free: 392 kB / 318.1 MB Notification: Performance of sorting global known variables: time 4.784e-05/0.2772, allocations: 91.22 kB / 409.5 MB, free: 300 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2772, allocations: 0 / 409.5 MB, free: 300 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.2775, allocations: 40 kB / 409.5 MB, free: 260 kB / 318.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.0004409/0.2779, allocations: 248.3 kB / 409.7 MB, free: 16 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.172e-05/0.278, allocations: 7.938 kB / 409.8 MB, free: 8 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.278, allocations: 0 / 409.8 MB, free: 8 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.2781, allocations: 8.047 kB / 409.8 MB, free: 0 / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.2784, allocations: 461.6 kB / 410.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002192/0.2787, allocations: 190 kB / 410.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.2789, allocations: 0.6805 MB / 411.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.279, allocations: 7.438 kB / 411.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.279, allocations: 4 kB / 411.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of Templates: time 0.002537/0.2815, allocations: 0.9705 MB / 412.1 MB, free: 13.64 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/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