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.00187/0.00187, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002249/0.002249, allocations: 204.7 kB / 24.48 MB, free: 3.969 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.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 7.816 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.001567/0.001567, allocations: 55.92 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2165, allocations: 53.35 MB / 432.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001652/0.2181, allocations: 0.5083 MB / 432.8 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.2201, allocations: 1.404 MB / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.28e-05/0.2201, allocations: 0 / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.2201, allocations: 3.938 kB / 434.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.245e-05/0.2201, allocations: 0 / 434.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006439/0.2208, allocations: 189.7 kB / 434.4 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.233e-05/0.2208, allocations: 12 kB / 434.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.2209, allocations: 0 / 434.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.102e-05/0.2209, allocations: 15.91 kB / 434.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.98e-05/0.2209, allocations: 11.94 kB / 434.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.221, allocations: 0 / 434.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.2212, allocations: 171.2 kB / 434.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.2213, allocations: 4 kB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.2213, allocations: 15.91 kB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.2215, allocations: 123.4 kB / 434.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2215, allocations: 0 / 434.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2215, allocations: 0 / 434.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.2215, allocations: 3.938 kB / 434.8 MB, free: 4.312 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.0003455/0.2218, allocations: 278.1 kB / 435 MB, free: 4.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2219, allocations: 8.031 kB / 435 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.222, allocations: 8.922 kB / 435.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2221, allocations: 106.5 kB / 435.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-06/0.2221, allocations: 384 / 435.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.2221, allocations: 4.125 kB / 435.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.2222, allocations: 63.39 kB / 435.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.2223, allocations: 0 / 435.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2223, allocations: 4 kB / 435.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2223, allocations: 0 / 435.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.672e-05/0.2223, allocations: 11.92 kB / 435.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.2226, allocations: 347.5 kB / 435.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.818e-05/0.2227, allocations: 173.1 kB / 435.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/0.2228, allocations: 80.14 kB / 435.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.2228, allocations: 75.28 kB / 435.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.2229, allocations: 109.8 kB / 436 MB, free: 2.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2229, allocations: 0 / 436 MB, free: 2.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.127e-05/0.2229, allocations: 37.64 kB / 436 MB, free: 2.906 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.223, allocations: 77.11 kB / 436.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.2231, allocations: 113.8 kB / 436.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.2231, allocations: 25.7 kB / 436.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.2232, allocations: 88.12 kB / 436.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.2232, allocations: 0 / 436.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.2232, allocations: 13.72 kB / 436.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2233, allocations: 314.8 kB / 436.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.2233, allocations: 4 kB / 436.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.545e-05/0.2234, allocations: 33.69 kB / 436.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.363e-05/0.2234, allocations: 12.89 kB / 436.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2234, allocations: 7.938 kB / 436.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001078/0.2235, allocations: 33.66 kB / 436.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.2235, allocations: 11.94 kB / 436.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.2235, allocations: 0 / 436.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2235, allocations: 0 / 436.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.361e-05/0.2236, allocations: 4 kB / 436.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.2236, allocations: 0 / 436.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/0.2236, allocations: 0 / 436.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.2236, allocations: 3.984 kB / 436.8 MB, free: 2.109 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.0001078/0.2237, allocations: 197.1 kB / 437 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.61e-05/0.2238, allocations: 104.9 kB / 437.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.537e-05/0.2239, allocations: 108.5 kB / 437.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-05/0.2239, allocations: 176.3 kB / 437.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.838e-05/0.224, allocations: 108.9 kB / 437.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.224, allocations: 109 kB / 437.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.755e-05/0.2241, allocations: 180.2 kB / 437.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.2242, allocations: 105 kB / 437.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.2243, allocations: 184.2 kB / 438 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001073/0.2244, allocations: 259.5 kB / 438.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001957/0.2246, allocations: 391.3 kB / 438.7 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.58e-05/0.2247, allocations: 101 kB / 438.8 MB, free: 20 kB / 334.1 MB Notification: Performance of sorting global known variables: time 7.524e-05/0.2247, allocations: 91.27 kB / 438.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of Backend: time 1.6e-07/0.2247, allocations: 0 / 438.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005729/0.2253, allocations: 150.6 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of SimCode: time 0.0004865/0.2258, allocations: 0.8389 MB / 439.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of Templates: time 0.00337/0.2292, allocations: 0.9728 MB / 440.8 MB, free: 13.93 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: 4.2378614580011345]