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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 100 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 187.3 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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=2500,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=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002599/0.002599, allocations: 51.91 kB / 371.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2978, allocations: 52.17 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.00173/0.2995, allocations: 0.5113 MB / 424.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.3015, allocations: 1.337 MB / 425.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.3015, allocations: 0 / 425.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.3015, allocations: 3.938 kB / 425.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.399e-05/0.3015, allocations: 0 / 425.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006374/0.3022, allocations: 186.1 kB / 425.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.784e-05/0.3022, allocations: 12 kB / 425.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.201e-05/0.3023, allocations: 7.984 kB / 425.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.3e-05/0.3023, allocations: 11.94 kB / 425.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.3024, allocations: 11.98 kB / 425.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.3024, allocations: 0 / 425.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.3027, allocations: 151.8 kB / 426 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.3027, allocations: 7.938 kB / 426 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.785e-05/0.3027, allocations: 3.984 kB / 426 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.3029, allocations: 119.4 kB / 426.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3029, allocations: 4 kB / 426.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3029, allocations: 0 / 426.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.3029, allocations: 0 / 426.2 MB, free: 12.14 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.0003542/0.3033, allocations: 273.3 kB / 426.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3033, allocations: 8.031 kB / 426.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.3033, allocations: 8.891 kB / 426.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.3035, allocations: 110.4 kB / 426.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.3035, allocations: 384 / 426.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.3035, allocations: 8.109 kB / 426.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.3036, allocations: 59.41 kB / 426.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.3036, allocations: 0 / 426.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.3036, allocations: 4 kB / 426.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3036, allocations: 0 / 426.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.336e-05/0.3036, allocations: 4 kB / 426.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.304, allocations: 351.5 kB / 427 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.784e-05/0.3041, allocations: 173.1 kB / 427.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/0.3042, allocations: 84.14 kB / 427.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.3042, allocations: 79.28 kB / 427.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.632e-05/0.3043, allocations: 109.8 kB / 427.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3043, allocations: 0 / 427.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.051e-05/0.3044, allocations: 25.7 kB / 427.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.413e-05/0.3044, allocations: 164.3 kB / 427.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.3045, allocations: 109.8 kB / 427.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3046, allocations: 25.7 kB / 427.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.3046, allocations: 92.09 kB / 427.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.3046, allocations: 3.938 kB / 427.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.3047, allocations: 17.7 kB / 427.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.3048, allocations: 314.8 kB / 428.1 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.402e-05/0.3048, allocations: 4 kB / 428.1 MB, free: 9.973 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.222e-05/0.3049, allocations: 33.7 kB / 428.2 MB, free: 9.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.318e-05/0.3049, allocations: 4.953 kB / 428.2 MB, free: 9.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3049, allocations: 4 kB / 428.2 MB, free: 9.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001052/0.305, allocations: 41.62 kB / 428.2 MB, free: 9.875 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.305, allocations: 4 kB / 428.2 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.305, allocations: 4 kB / 428.2 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.305, allocations: 0 / 428.2 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.22e-05/0.3051, allocations: 0 / 428.2 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.3051, allocations: 0 / 428.2 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.596e-05/0.3051, allocations: 4 kB / 428.2 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.3051, allocations: 0 / 428.2 MB, free: 9.863 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.0001177/0.3052, allocations: 197.1 kB / 428.4 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.3053, allocations: 108.9 kB / 428.5 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.3054, allocations: 108.4 kB / 428.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-05/0.3054, allocations: 180.3 kB / 428.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.142e-05/0.3055, allocations: 176.3 kB / 429 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.88e-05/0.3056, allocations: 188.2 kB / 429.2 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.3058, allocations: 356.8 kB / 429.5 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.502e-05/0.3059, allocations: 104.9 kB / 429.6 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.3059, allocations: 101 kB / 429.7 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-05/0.306, allocations: 184.2 kB / 429.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/0.3061, allocations: 184.2 kB / 430.1 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.565e-05/0.3062, allocations: 184.2 kB / 430.3 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.987e-05/0.3062, allocations: 188.4 kB / 430.5 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.3064, allocations: 319.7 kB / 430.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.3065, allocations: 101 kB / 430.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.25e-05/0.3066, allocations: 180.3 kB / 431 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3067, allocations: 108.9 kB / 431.1 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.779e-05/0.3068, allocations: 188.2 kB / 431.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.3068, allocations: 104.9 kB / 431.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.975e-05/0.3069, allocations: 91.53 kB / 431.5 MB, free: 6.391 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3069, allocations: 0 / 431.5 MB, free: 6.391 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.3071, allocations: 43.8 kB / 431.6 MB, free: 6.348 MB / 334.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.0004344/0.3076, allocations: 242.2 kB / 431.8 MB, free: 6.121 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.3077, allocations: 11.98 kB / 431.8 MB, free: 6.109 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3077, allocations: 0 / 431.8 MB, free: 6.109 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.202e-06/0.3077, allocations: 4 kB / 431.8 MB, free: 6.105 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.3081, allocations: 459.7 kB / 432.3 MB, free: 5.652 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.3083, allocations: 198 kB / 432.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.402e-05/0.3084, allocations: 63.2 kB / 432.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.3084, allocations: 7.438 kB / 432.5 MB, free: 5.336 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3084, allocations: 0 / 432.5 MB, free: 5.336 MB / 334.1 MB Notification: Performance of Templates: time 0.003/0.3114, allocations: 0.9673 MB / 433.5 MB, free: 4.371 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.919981810729951]