Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002241/0.002241, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.559/1.559, allocations: 230.6 MB / 258.2 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 51.94 kB / 379 MB, free: 2.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2825, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001614/0.2841, allocations: 0.4927 MB / 432.8 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.2861, allocations: 1.404 MB / 434.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.2861, allocations: 0 / 434.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.2861, allocations: 0 / 434.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.879e-05/0.2862, allocations: 3.938 kB / 434.2 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006779/0.2869, allocations: 180.8 kB / 434.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.795e-05/0.2869, allocations: 19.91 kB / 434.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.287, allocations: 8 kB / 434.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.953e-05/0.287, allocations: 4 kB / 434.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.999e-05/0.2871, allocations: 11.92 kB / 434.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.2871, allocations: 3.938 kB / 434.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002939/0.2874, allocations: 171.8 kB / 434.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.2874, allocations: 8 kB / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.2874, allocations: 7.922 kB / 434.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.2876, allocations: 121.5 kB / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2876, allocations: 0 / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2876, allocations: 0 / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2876, allocations: 0 / 434.7 MB, free: 4.293 MB / 334.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.0003734/0.288, allocations: 290 kB / 435 MB, free: 3.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.288, allocations: 8.031 kB / 435 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.2882, allocations: 4.938 kB / 435 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.2883, allocations: 102.5 kB / 435.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.2883, allocations: 384 / 435.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.2883, allocations: 16.06 kB / 435.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.2885, allocations: 63.38 kB / 435.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.2885, allocations: 0 / 435.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.2885, allocations: 0 / 435.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2885, allocations: 0 / 435.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.512e-05/0.2885, allocations: 4 kB / 435.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.289, allocations: 347.6 kB / 435.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.2891, allocations: 169.1 kB / 435.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.202e-05/0.2891, allocations: 88.12 kB / 435.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.2891, allocations: 75.28 kB / 435.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.693e-05/0.2892, allocations: 113.8 kB / 436 MB, free: 2.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.2892, allocations: 0 / 436 MB, free: 2.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.216e-05/0.2893, allocations: 37.66 kB / 436 MB, free: 2.875 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.206e-05/0.2894, allocations: 152.4 kB / 436.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.2895, allocations: 109.8 kB / 436.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.2895, allocations: 25.7 kB / 436.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.2896, allocations: 88.14 kB / 436.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.2896, allocations: 0 / 436.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.2896, allocations: 17.7 kB / 436.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2897, allocations: 314.8 kB / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.2897, allocations: 4 kB / 436.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.234e-05/0.2898, allocations: 33.7 kB / 436.8 MB, free: 2.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.717e-05/0.2898, allocations: 8.859 kB / 436.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2898, allocations: 0 / 436.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001137/0.2899, allocations: 41.64 kB / 436.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2899, allocations: 8 kB / 436.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.2899, allocations: 0 / 436.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2899, allocations: 3.938 kB / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.503e-05/0.29, allocations: 0 / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.29, allocations: 3.938 kB / 436.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.601e-05/0.29, allocations: 12.06 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.29, allocations: 0 / 436.8 MB, free: 2 MB / 334.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.0001133/0.2902, allocations: 189.1 kB / 437 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.97e-05/0.2902, allocations: 109 kB / 437.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6e-05/0.2903, allocations: 112.4 kB / 437.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.607e-05/0.2904, allocations: 176.3 kB / 437.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.5e-05/0.2904, allocations: 176.3 kB / 437.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.958e-05/0.2905, allocations: 184.2 kB / 437.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.2908, allocations: 360.8 kB / 438.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.906e-05/0.2908, allocations: 104.9 kB / 438.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.385e-05/0.2908, allocations: 105 kB / 438.3 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.942e-05/0.2909, allocations: 184.2 kB / 438.5 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.238e-05/0.291, allocations: 188.2 kB / 438.7 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.126e-05/0.2911, allocations: 176.5 kB / 438.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-05/0.2912, allocations: 188.2 kB / 439 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.2913, allocations: 307.8 kB / 439.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.2914, allocations: 108.9 kB / 439.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.043e-05/0.2915, allocations: 176.3 kB / 439.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.2916, allocations: 105.2 kB / 439.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.2917, allocations: 180.3 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.2917, allocations: 109 kB / 440 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.718e-05/0.2918, allocations: 91.28 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2918, allocations: 3.938 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003066/0.2921, allocations: 47.86 kB / 440.1 MB, free: 14.5 MB / 350.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.0004066/0.2925, allocations: 239.2 kB / 440.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.475e-05/0.2926, allocations: 8 kB / 440.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2926, allocations: 0 / 440.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.2926, allocations: 0 / 440.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.293, allocations: 465.8 kB / 440.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002459/0.2932, allocations: 164.3 kB / 441 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.955e-05/0.2933, allocations: 63.28 kB / 441.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.2934, allocations: 15.92 kB / 441.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.2934, allocations: 7.438 kB / 441.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2934, allocations: 0 / 441.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of Templates: time 0.00376/0.2972, allocations: 0.9934 MB / 442.1 MB, free: 12.53 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.773637459002202]