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.001751/0.001751, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002118/0.002118, allocations: 207.1 kB / 24.48 MB, free: 3.977 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.46/1.46, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.001573/0.001573, allocations: 48.02 kB / 378.9 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2067, allocations: 53.37 MB / 432.3 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001496/0.2082, allocations: 0.4927 MB / 432.8 MB, free: 6.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.21, allocations: 1.4 MB / 434.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.846e-05/0.21, allocations: 0 / 434.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.21, allocations: 3.938 kB / 434.2 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.688e-05/0.2101, allocations: 3.938 kB / 434.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.2107, allocations: 190.8 kB / 434.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.406e-05/0.2107, allocations: 12 kB / 434.4 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.145e-05/0.2107, allocations: 3.984 kB / 434.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.377e-05/0.2108, allocations: 15.92 kB / 434.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.491e-05/0.2108, allocations: 15.92 kB / 434.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.2108, allocations: 0 / 434.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.2111, allocations: 165.7 kB / 434.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.2111, allocations: 11.98 kB / 434.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.562e-05/0.2111, allocations: 3.938 kB / 434.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.2113, allocations: 118.7 kB / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2114, allocations: 0 / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2114, allocations: 0 / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.2114, allocations: 3.938 kB / 434.7 MB, free: 4.336 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.0003247/0.2117, allocations: 282.1 kB / 435 MB, free: 4.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.2117, allocations: 12.03 kB / 435 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.2118, allocations: 0.9375 kB / 435 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.56e-05/0.2119, allocations: 110.5 kB / 435.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2119, allocations: 4.375 kB / 435.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.212, allocations: 8.125 kB / 435.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.2121, allocations: 63.38 kB / 435.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.2121, allocations: 0 / 435.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.2121, allocations: 4 kB / 435.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.2121, allocations: 0 / 435.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.167e-05/0.2121, allocations: 3.938 kB / 435.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.2125, allocations: 351.5 kB / 435.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.653e-05/0.2125, allocations: 169.1 kB / 435.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.2126, allocations: 80.14 kB / 435.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.2126, allocations: 75.28 kB / 435.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/0.2127, allocations: 113.8 kB / 436 MB, free: 2.965 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.2127, allocations: 0 / 436 MB, free: 2.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.211e-05/0.2127, allocations: 33.62 kB / 436 MB, free: 2.926 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.135e-05/0.2128, allocations: 156.4 kB / 436.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.2129, allocations: 109.8 kB / 436.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.2129, allocations: 25.7 kB / 436.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.213, allocations: 84.14 kB / 436.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.213, allocations: 0 / 436.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.213, allocations: 13.72 kB / 436.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2132, allocations: 322.8 kB / 436.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.2132, allocations: 8 kB / 436.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.744e-05/0.2132, allocations: 25.7 kB / 436.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.2132, allocations: 12.8 kB / 436.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2132, allocations: 3.938 kB / 436.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001027/0.2133, allocations: 41.66 kB / 436.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.2133, allocations: 7.938 kB / 436.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-06/0.2133, allocations: 0 / 436.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2134, allocations: 7.984 kB / 436.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.892e-05/0.2134, allocations: 0 / 436.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.2134, allocations: 4.125 kB / 436.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.444e-05/0.2134, allocations: 0 / 436.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.2134, allocations: 4 kB / 436.8 MB, free: 2.047 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.0001019/0.2135, allocations: 185.1 kB / 437 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.779e-05/0.2136, allocations: 108.9 kB / 437.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.489e-05/0.2137, allocations: 108.4 kB / 437.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-05/0.2138, allocations: 184.3 kB / 437.4 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.235e-05/0.2138, allocations: 180.2 kB / 437.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.878e-05/0.2139, allocations: 176.5 kB / 437.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.2141, allocations: 364.7 kB / 438.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.103e-05/0.2141, allocations: 109 kB / 438.2 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.032e-05/0.2142, allocations: 105 kB / 438.3 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.985e-05/0.2143, allocations: 180.2 kB / 438.5 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.501e-05/0.2143, allocations: 188.3 kB / 438.7 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-05/0.2144, allocations: 180.4 kB / 438.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.111e-05/0.2145, allocations: 184.3 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.2146, allocations: 307.7 kB / 439.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.2147, allocations: 105 kB / 439.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.639e-05/0.2148, allocations: 188.2 kB / 439.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/0.2149, allocations: 101 kB / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/0.2149, allocations: 180.2 kB / 439.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.215, allocations: 109 kB / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.641e-05/0.215, allocations: 87.27 kB / 440.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.215, allocations: 4 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.2153, allocations: 35.88 kB / 440.1 MB, free: 14.56 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.0003535/0.2157, allocations: 254.3 kB / 440.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.321e-05/0.2157, allocations: 7.984 kB / 440.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2157, allocations: 3.938 kB / 440.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.917e-06/0.2158, allocations: 8 kB / 440.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.2161, allocations: 466 kB / 440.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001782/0.2163, allocations: 156.3 kB / 441 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.948e-05/0.2164, allocations: 59.34 kB / 441.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.405e-05/0.2164, allocations: 11.98 kB / 441.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.588e-05/0.2164, allocations: 7.438 kB / 441.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2164, allocations: 0 / 441.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of Templates: time 0.003283/0.2197, allocations: 0.9996 MB / 442.1 MB, free: 12.56 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 gbode -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.136560152997845]