Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.001844/0.001844, 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.002292/0.002292, allocations: 212.2 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.445/1.445, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.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_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_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 43.92 kB / 378.9 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2213, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003802/0.2251, allocations: 2.32 MB / 434.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.2262, allocations: 0.5921 MB / 435.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.2263, allocations: 7.938 kB / 435.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.2265, allocations: 35.59 kB / 435.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.2267, allocations: 79.33 kB / 435.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.2268, allocations: 63.86 kB / 435.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.2272, allocations: 294.7 kB / 435.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.2273, allocations: 79.03 kB / 435.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.2275, allocations: 123.6 kB / 435.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.2276, allocations: 119.5 kB / 436 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.73e-05/0.2277, allocations: 24 kB / 436 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.109e-05/0.2277, allocations: 24 kB / 436.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.2e-05/0.2278, allocations: 51.78 kB / 436.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.2279, allocations: 119.5 kB / 436.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003685/0.2283, allocations: 297.7 kB / 436.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2283, allocations: 4 kB / 436.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2283, allocations: 0 / 436.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.2283, allocations: 0 / 436.5 MB, free: 2.5 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.0008118/0.2291, allocations: 477.8 kB / 437 MB, free: 2.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2291, allocations: 8.031 kB / 437 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.2292, allocations: 40.69 kB / 437 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.2295, allocations: 178.7 kB / 437.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.2295, allocations: 17.03 kB / 437.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-05/0.2296, allocations: 36.11 kB / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004818/0.2301, allocations: 222.1 kB / 437.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.2301, allocations: 11.94 kB / 437.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.2301, allocations: 8 kB / 437.5 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.2301, allocations: 8 kB / 437.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.2306, allocations: 174.5 kB / 437.7 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.2317, allocations: 0.5939 MB / 438.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/0.2322, allocations: 202.5 kB / 438.5 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.2324, allocations: 100.8 kB / 438.6 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.2325, allocations: 7.938 kB / 438.6 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.2325, allocations: 38.56 kB / 438.6 MB, free: 304 kB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.2325, allocations: 0 / 438.6 MB, free: 304 kB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.00176/0.2342, allocations: 0.817 MB / 439.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.2343, allocations: 51.41 kB / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.2345, allocations: 155.8 kB / 439.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.2345, allocations: 29.7 kB / 439.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.771e-05/0.2346, allocations: 140.8 kB / 439.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.754e-05/0.2347, allocations: 111 kB / 439.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.879e-05/0.2348, allocations: 53.7 kB / 440 MB, free: 14.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.2349, allocations: 330.8 kB / 440.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.2351, allocations: 75.95 kB / 440.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.2354, allocations: 107.4 kB / 440.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.2358, allocations: 215.2 kB / 440.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2358, allocations: 0 / 440.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005268/0.2363, allocations: 253.5 kB / 440.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2363, allocations: 4 kB / 440.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2363, allocations: 8.094 kB / 440.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2363, allocations: 0 / 440.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.2366, allocations: 75.89 kB / 441 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.2366, allocations: 0 / 441 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.2368, allocations: 31.86 kB / 441 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.2368, allocations: 8 kB / 441 MB, free: 13.73 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.0001325/0.2369, allocations: 134.7 kB / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.237, allocations: 27.8 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.297e-05/0.237, allocations: 21.97 kB / 441.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.237, allocations: 8 kB / 441.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.237, allocations: 0 / 441.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.2371, allocations: 3.984 kB / 441.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009491/0.238, allocations: 0.5507 MB / 441.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.238, allocations: 4 kB / 441.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/0.2384, allocations: 75.89 kB / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.2384, allocations: 64 / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.2384, allocations: 12 kB / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2384, allocations: 0 / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2384, allocations: 0 / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007223/0.2391, allocations: 443.2 kB / 442.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.2391, allocations: 19.86 kB / 442.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.2392, allocations: 8.047 kB / 442.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.2393, allocations: 12 kB / 442.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.2394, allocations: 27.89 kB / 442.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.2394, allocations: 8 kB / 442.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.344e-05/0.2395, allocations: 106.9 kB / 442.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2395, allocations: 0 / 442.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003282/0.2398, allocations: 60 kB / 442.5 MB, free: 12.15 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * 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 (28): * Single equations (assignments): 28 * 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.000116/0.2399, allocations: 111.1 kB / 442.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004525/0.2404, allocations: 188.2 kB / 442.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2404, allocations: 0 / 442.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.2406, allocations: 103.9 kB / 442.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.241, allocations: 31.98 kB / 443 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.2424, allocations: 0.8239 MB / 443.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.2425, allocations: 146.5 kB / 443.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.8e-05/0.2426, allocations: 13.95 kB / 444 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.2426, allocations: 19.44 kB / 444 MB, free: 10.66 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2426, allocations: 4 kB / 444 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Templates: time 0.006128/0.2488, allocations: 2.487 MB / 446.5 MB, free: 8.211 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.235954882009537]