Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001524/0.001524, allocations: 114.3 kB / 21.18 MB, free: 0.6211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001645/0.001645, allocations: 212.9 kB / 24.48 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.428/1.428, allocations: 230.4 MB / 258.1 MB, free: 8.156 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 67.83 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2139, allocations: 53.32 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001659/0.2156, allocations: 0.5071 MB / 432.5 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.2176, allocations: 1.455 MB / 434 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.2176, allocations: 0 / 434 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.112e-05/0.2176, allocations: 0 / 434 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.93e-05/0.2176, allocations: 7.938 kB / 434 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006279/0.2183, allocations: 178.3 kB / 434.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.203e-05/0.2183, allocations: 23.84 kB / 434.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.2184, allocations: 4 kB / 434.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.252e-05/0.2184, allocations: 11.94 kB / 434.2 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.598e-05/0.2185, allocations: 7.984 kB / 434.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.2185, allocations: 4 kB / 434.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.2188, allocations: 171.8 kB / 434.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.2188, allocations: 11.92 kB / 434.4 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.631e-05/0.2188, allocations: 0 / 434.4 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.219, allocations: 125.7 kB / 434.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.219, allocations: 0 / 434.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.219, allocations: 0 / 434.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.219, allocations: 0 / 434.5 MB, free: 4.898 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.0004088/0.2194, allocations: 355.2 kB / 434.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2195, allocations: 12.02 kB / 434.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.2196, allocations: 8.938 kB / 434.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.2197, allocations: 160.4 kB / 435.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-06/0.2198, allocations: 384 / 435.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.2198, allocations: 8.125 kB / 435.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.585e-05/0.2199, allocations: 37.62 kB / 435.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2199, allocations: 0 / 435.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.2199, allocations: 0 / 435.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.2199, allocations: 0 / 435.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.495e-05/0.2199, allocations: 8 kB / 435.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.2204, allocations: 469 kB / 435.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.483e-05/0.2204, allocations: 181.1 kB / 435.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.227e-05/0.2205, allocations: 84.08 kB / 435.8 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.2205, allocations: 75.28 kB / 435.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.245e-05/0.2206, allocations: 113.8 kB / 436 MB, free: 3.234 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.2206, allocations: 0 / 436 MB, free: 3.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.121e-05/0.2207, allocations: 33.66 kB / 436 MB, free: 3.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.2207, allocations: 77.11 kB / 436.1 MB, free: 3.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.2208, allocations: 105.8 kB / 436.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.2208, allocations: 25.7 kB / 436.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.2209, allocations: 88.14 kB / 436.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.2209, allocations: 0 / 436.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.221, allocations: 21.7 kB / 436.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2211, allocations: 314.8 kB / 436.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.472e-05/0.2211, allocations: 4 kB / 436.7 MB, free: 2.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.093e-05/0.2211, allocations: 7.938 kB / 436.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.472e-05/0.2211, allocations: 8.859 kB / 436.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2211, allocations: 0 / 436.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001134/0.2213, allocations: 41.89 kB / 436.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2213, allocations: 12.06 kB / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2213, allocations: 0 / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.2213, allocations: 4 kB / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.65e-05/0.2213, allocations: 4 kB / 436.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.2214, allocations: 0 / 436.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/0.2214, allocations: 0 / 436.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.2214, allocations: 4 kB / 436.7 MB, free: 2.43 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.0001103/0.2215, allocations: 189.1 kB / 436.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-05/0.2216, allocations: 116.9 kB / 437 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/0.2216, allocations: 104.5 kB / 437.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.617e-05/0.2217, allocations: 180.2 kB / 437.3 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.77e-05/0.2218, allocations: 101 kB / 437.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.641e-05/0.2219, allocations: 186.1 kB / 437.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.407e-05/0.2219, allocations: 184.2 kB / 437.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.2221, allocations: 108.9 kB / 437.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.517e-05/0.2222, allocations: 184.2 kB / 438.1 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001038/0.2223, allocations: 251.5 kB / 438.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000199/0.2225, allocations: 383.2 kB / 438.7 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.568e-05/0.2225, allocations: 117 kB / 438.8 MB, free: 252 kB / 334.1 MB Notification: Performance of sorting global known variables: time 5.758e-05/0.2226, allocations: 91.27 kB / 438.9 MB, free: 160 kB / 334.1 MB Notification: Performance of Backend: time 2.61e-07/0.2226, allocations: 3.938 kB / 438.9 MB, free: 156 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006511/0.2232, allocations: 163.2 kB / 439.1 MB, free: 0 / 334.1 MB Notification: Performance of SimCode: time 0.0005173/0.2237, allocations: 0.8351 MB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of Templates: time 0.003593/0.2273, allocations: 0.9418 MB / 440.8 MB, free: 14.18 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.150976317003369]