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.001526/0.001526, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001676/0.001676, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.389/1.389, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.001571/0.001571, allocations: 47.92 kB / 379 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2262, allocations: 53.36 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001714/0.2279, allocations: 0.5045 MB / 432.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.23, allocations: 1.466 MB / 434.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.23, allocations: 0 / 434.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.23, allocations: 3.938 kB / 434.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.631e-05/0.2301, allocations: 4 kB / 434.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.2307, allocations: 183.1 kB / 434.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.219e-05/0.2308, allocations: 15.94 kB / 434.6 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.2308, allocations: 7.969 kB / 434.6 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.23e-05/0.2308, allocations: 7.938 kB / 434.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.044e-05/0.2309, allocations: 15.94 kB / 434.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.2309, allocations: 4 kB / 434.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002942/0.2312, allocations: 167.8 kB / 434.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.2312, allocations: 7.969 kB / 434.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.2312, allocations: 4 kB / 434.8 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.2315, allocations: 128.9 kB / 434.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2315, allocations: 0 / 434.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2315, allocations: 0 / 434.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.2315, allocations: 0 / 434.9 MB, free: 4.43 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.0003746/0.2319, allocations: 282.1 kB / 435.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2319, allocations: 12.03 kB / 435.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.232, allocations: 4.938 kB / 435.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2322, allocations: 106.5 kB / 435.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-06/0.2322, allocations: 384 / 435.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.2322, allocations: 8.062 kB / 435.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.2323, allocations: 33.69 kB / 435.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2323, allocations: 0 / 435.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.2323, allocations: 0 / 435.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2323, allocations: 0 / 435.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.58e-05/0.2323, allocations: 7.938 kB / 435.3 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.2328, allocations: 378.9 kB / 435.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.2329, allocations: 165.1 kB / 435.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.989e-05/0.2329, allocations: 80.14 kB / 435.9 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.233, allocations: 75.28 kB / 436 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.38e-05/0.233, allocations: 113.8 kB / 436.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.233, allocations: 0 / 436.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.924e-05/0.2331, allocations: 33.64 kB / 436.2 MB, free: 3.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.419e-05/0.2332, allocations: 152.4 kB / 436.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.2333, allocations: 109.8 kB / 436.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.2334, allocations: 25.7 kB / 436.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.2334, allocations: 84.14 kB / 436.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.2334, allocations: 4 kB / 436.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.2335, allocations: 21.64 kB / 436.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.2336, allocations: 318.8 kB / 436.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.2336, allocations: 0 / 436.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.2337, allocations: 4 kB / 436.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.082e-05/0.2337, allocations: 12.8 kB / 436.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.2337, allocations: 4 kB / 436.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001191/0.2338, allocations: 41.73 kB / 436.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2338, allocations: 8 kB / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2338, allocations: 0 / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2339, allocations: 0 / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.783e-05/0.2339, allocations: 0 / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2339, allocations: 4 kB / 436.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.2339, allocations: 256 / 436.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.2339, allocations: 0 / 436.9 MB, free: 2.188 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.0001237/0.2341, allocations: 189.1 kB / 437.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.785e-05/0.2342, allocations: 120.9 kB / 437.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.827e-05/0.2342, allocations: 104.5 kB / 437.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.392e-05/0.2343, allocations: 180.3 kB / 437.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.587e-05/0.2344, allocations: 184.1 kB / 437.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.04e-05/0.2345, allocations: 180.2 kB / 437.9 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.2348, allocations: 388.2 kB / 438.2 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.095e-05/0.2348, allocations: 101 kB / 438.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.2349, allocations: 105 kB / 438.4 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.458e-05/0.2349, allocations: 184.2 kB / 438.6 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.502e-05/0.235, allocations: 180.3 kB / 438.8 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.305e-05/0.2351, allocations: 180.4 kB / 439 MB, free: 0 / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.682e-05/0.2352, allocations: 192.3 kB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.2354, allocations: 307.7 kB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.2354, allocations: 101 kB / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.8e-05/0.2355, allocations: 188.2 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.2356, allocations: 105 kB / 439.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.934e-05/0.2357, allocations: 180.2 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.2357, allocations: 105 kB / 440.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.555e-05/0.2358, allocations: 91.27 kB / 440.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2358, allocations: 0 / 440.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003082/0.2361, allocations: 39.88 kB / 440.3 MB, free: 14.65 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.000381/0.2365, allocations: 253 kB / 440.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.955e-05/0.2366, allocations: 8 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2366, allocations: 0 / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.108e-06/0.2366, allocations: 3.938 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.237, allocations: 455.7 kB / 441 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/0.2372, allocations: 194.1 kB / 441.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.2375, allocations: 0.6768 MB / 441.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.2375, allocations: 7.438 kB / 441.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2375, allocations: 0 / 441.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of Templates: time 0.002835/0.2403, allocations: 1.008 MB / 442.8 MB, free: 12.01 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 -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: 6.433076865039766]