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.001865/0.001865, 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.002248/0.002248, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.001598/0.001598, allocations: 47.92 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2076, allocations: 53.37 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003676/0.2113, allocations: 2.312 MB / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.2124, allocations: 0.5882 MB / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.2125, allocations: 7.938 kB / 435.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.2127, allocations: 35.59 kB / 435.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.2129, allocations: 83.27 kB / 435.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.213, allocations: 63.91 kB / 435.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000353/0.2134, allocations: 298.6 kB / 435.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.2136, allocations: 79.36 kB / 435.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.2137, allocations: 115.6 kB / 435.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.2139, allocations: 123.5 kB / 436 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.2139, allocations: 24 kB / 436 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.851e-05/0.214, allocations: 24 kB / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.214, allocations: 51.84 kB / 436.1 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.2142, allocations: 111.5 kB / 436.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.2145, allocations: 308.3 kB / 436.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2145, allocations: 4 kB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2145, allocations: 0 / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2146, allocations: 0 / 436.5 MB, free: 2.523 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.0008438/0.2154, allocations: 473.8 kB / 437 MB, free: 2.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2154, allocations: 8.031 kB / 437 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.933e-05/0.2155, allocations: 32.75 kB / 437 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.2158, allocations: 192.9 kB / 437.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.2158, allocations: 21.03 kB / 437.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.625e-05/0.2159, allocations: 28.12 kB / 437.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.2164, allocations: 226.1 kB / 437.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.2164, allocations: 3.953 kB / 437.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.2165, allocations: 12 kB / 437.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.2165, allocations: 4 kB / 437.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004396/0.2169, allocations: 178.5 kB / 437.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.2181, allocations: 0.59 MB / 438.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.2186, allocations: 198.5 kB / 438.5 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.2188, allocations: 100.8 kB / 438.6 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.2188, allocations: 11.88 kB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.2188, allocations: 42.55 kB / 438.6 MB, free: 332 kB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.2188, allocations: 0 / 438.6 MB, free: 332 kB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001778/0.2206, allocations: 0.817 MB / 439.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.2207, allocations: 55.41 kB / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.2208, allocations: 147.9 kB / 439.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.2208, allocations: 25.7 kB / 439.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.2209, allocations: 148.8 kB / 439.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.801e-05/0.221, allocations: 118.9 kB / 439.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.011e-05/0.2211, allocations: 49.7 kB / 440 MB, free: 14.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.2213, allocations: 326.8 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.2215, allocations: 75.95 kB / 440.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.2217, allocations: 115.4 kB / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.2221, allocations: 203.3 kB / 440.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2221, allocations: 3.938 kB / 440.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000518/0.2227, allocations: 253.5 kB / 440.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2227, allocations: 8 kB / 440.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2227, allocations: 0 / 440.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2227, allocations: 4 kB / 440.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.223, allocations: 79.98 kB / 441 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.223, allocations: 11.92 kB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.2232, allocations: 15.98 kB / 441 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.2232, allocations: 8 kB / 441.1 MB, free: 13.76 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.0001357/0.2233, allocations: 142.6 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.2234, allocations: 15.91 kB / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.635e-05/0.2234, allocations: 25.97 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2234, allocations: 3.984 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2234, allocations: 0 / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.664e-05/0.2235, allocations: 19.86 kB / 441.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.2235, allocations: 8 kB / 441.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.2236, allocations: 11.98 kB / 441.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.2237, allocations: 19.91 kB / 441.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007989/0.2245, allocations: 344.8 kB / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000784/0.2253, allocations: 0.5123 MB / 442.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002074/0.2255, allocations: 87.98 kB / 442.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.036e-05/0.2256, allocations: 114.9 kB / 442.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of Backend: time 3e-07/0.2256, allocations: 0 / 442.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000605/0.2262, allocations: 193.3 kB / 442.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of SimCode: time 0.001462/0.2276, allocations: 1.206 MB / 443.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Templates: time 0.006819/0.2345, allocations: 3.126 MB / 446.9 MB, free: 7.898 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 -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.4932482820004225]