Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.001742/0.001742, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.00211/0.00211, allocations: 212.1 kB / 24.48 MB, free: 4.191 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.436/1.436, 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.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [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.001979/0.001979, allocations: 71.83 kB / 378.7 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2147, allocations: 53.3 MB / 432 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003786/0.2185, allocations: 2.465 MB / 434.5 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.2195, allocations: 0.6154 MB / 435.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.2196, allocations: 8 kB / 435.1 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.2198, allocations: 39.59 kB / 435.2 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.2199, allocations: 83.27 kB / 435.3 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.2201, allocations: 55.92 kB / 435.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.2204, allocations: 294.6 kB / 435.6 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.2206, allocations: 82.91 kB / 435.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.2208, allocations: 111.6 kB / 435.8 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.2209, allocations: 131.4 kB / 435.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/0.221, allocations: 24 kB / 435.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.17e-05/0.221, allocations: 24 kB / 436 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.2211, allocations: 59.75 kB / 436 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.2212, allocations: 127.4 kB / 436.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.2216, allocations: 296.3 kB / 436.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2216, allocations: 4 kB / 436.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2216, allocations: 0 / 436.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2216, allocations: 0 / 436.4 MB, free: 3.02 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008517/0.2224, allocations: 0.5534 MB / 437 MB, free: 2.418 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.2225, allocations: 8.031 kB / 437 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.2225, allocations: 28.75 kB / 437 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.2228, allocations: 236.6 kB / 437.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.2229, allocations: 16.94 kB / 437.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.2229, allocations: 28.12 kB / 437.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000475/0.2234, allocations: 232.8 kB / 437.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.2234, allocations: 7.953 kB / 437.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.2234, allocations: 8 kB / 437.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.2234, allocations: 8 kB / 437.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004255/0.2239, allocations: 174.1 kB / 437.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.2251, allocations: 0.758 MB / 438.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004894/0.2256, allocations: 202.5 kB / 438.7 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.2258, allocations: 108.8 kB / 438.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.2258, allocations: 4 kB / 438.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.2259, allocations: 38.56 kB / 438.8 MB, free: 472 kB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.483e-06/0.2259, allocations: 7.938 kB / 438.8 MB, free: 464 kB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001843/0.2277, allocations: 0.9675 MB / 439.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.2278, allocations: 55.41 kB / 439.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.2279, allocations: 159.1 kB / 440 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.2279, allocations: 25.7 kB / 440 MB, free: 15.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.2281, allocations: 144.8 kB / 440.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.62e-05/0.2281, allocations: 99.08 kB / 440.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.31e-05/0.2282, allocations: 53.7 kB / 440.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.2284, allocations: 334.8 kB / 440.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.2286, allocations: 75.95 kB / 440.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.2288, allocations: 112.8 kB / 440.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004414/0.2293, allocations: 215.8 kB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2293, allocations: 0 / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005205/0.2298, allocations: 257.3 kB / 441.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2298, allocations: 4 kB / 441.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2298, allocations: 4 kB / 441.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.2298, allocations: 4 kB / 441.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.2301, allocations: 83.98 kB / 441.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2301, allocations: 0 / 441.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.2303, allocations: 19.98 kB / 441.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.2303, allocations: 12 kB / 441.4 MB, free: 13.69 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (35): * Single equations (assignments): 35 * 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.0001387/0.2304, allocations: 137.7 kB / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.2305, allocations: 19.86 kB / 441.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.429e-05/0.2305, allocations: 26.56 kB / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2306, allocations: 7.984 kB / 441.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2306, allocations: 0 / 441.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.2306, allocations: 93.02 kB / 441.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.2307, allocations: 4 kB / 441.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.2308, allocations: 15.92 kB / 441.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.2309, allocations: 11.98 kB / 441.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007974/0.2317, allocations: 365.6 kB / 442.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007958/0.2325, allocations: 0.5069 MB / 442.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002079/0.2327, allocations: 84 kB / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.717e-05/0.2328, allocations: 127.7 kB / 442.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Backend: time 1.9e-07/0.2328, allocations: 0 / 442.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005984/0.2334, allocations: 198.5 kB / 443 MB, free: 12.06 MB / 350.1 MB Notification: Performance of SimCode: time 0.001511/0.2349, allocations: 1.202 MB / 444.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of Templates: time 0.006432/0.2413, allocations: 2.765 MB / 447 MB, free: 8.066 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.188153417780995]