Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 108.6 kB / 21.08 MB, free: 0.8594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 186.1 kB / 24.34 MB, free: 4.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 225.6 MB / 253 MB, free: 13.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/1.907e-05, allocations: 2.281 kB / 371.3 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004852/0.004871, allocations: 3.543 MB / 374.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.006691, allocations: 0.8918 MB / 375.7 MB, free: 5.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003861/0.007077, allocations: 11.94 kB / 375.8 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.007404, allocations: 79.17 kB / 375.8 MB, free: 4.949 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004601/0.007864, allocations: 150.7 kB / 376 MB, free: 4.801 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005907/0.008455, allocations: 155.7 kB / 376.1 MB, free: 4.648 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000954/0.009408, allocations: 0.6659 MB / 376.8 MB, free: 3.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.009689, allocations: 126 kB / 376.9 MB, free: 3.855 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003775/0.01007, allocations: 243.2 kB / 377.2 MB, free: 3.617 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/0.01041, allocations: 274.9 kB / 377.4 MB, free: 3.348 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.978e-05/0.01049, allocations: 51.94 kB / 377.5 MB, free: 3.297 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.101e-05/0.01058, allocations: 55.94 kB / 377.5 MB, free: 3.242 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0008624/0.01144, allocations: 1.006 MB / 378.5 MB, free: 2.227 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005737/0.01202, allocations: 0.6053 MB / 379.1 MB, free: 1.613 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.01218, allocations: 91.69 kB / 379.2 MB, free: 1.523 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.853e-05/0.01225, allocations: 19.98 kB / 379.3 MB, free: 1.504 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 (116) * Number of variables: 116 (116) Notification: Performance of Bindings: time 0.1406/0.1528, allocations: 2.3 MB / 381.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003203/0.1531, allocations: 306.5 kB / 381.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001025/0.1542, allocations: 1.326 MB / 383.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of Simplify 1: time 0.000333/0.1545, allocations: 270 kB / 383.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of Alias: time 0.00343/0.1579, allocations: 2.9 MB / 386.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of Simplify 2: time 0.0002131/0.1581, allocations: 207.4 kB / 386.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of Remove Stream: time 0.0001132/0.1582, allocations: 130.2 kB / 386.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004421/0.1587, allocations: 387 kB / 387 MB, free: 13.71 MB / 302.1 MB Notification: Performance of Events: time 0.0002413/0.1589, allocations: 172.5 kB / 387.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000457/0.1594, allocations: 408.9 kB / 387.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of Causalize: time 0.003282/0.1627, allocations: 2.643 MB / 390.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008204/0.1635, allocations: 0.9386 MB / 391.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Simplify: time 0.0007848/0.1643, allocations: 0.571 MB / 391.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of Inline: time 0.001239/0.1655, allocations: 1.417 MB / 393.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of Partitioning: time 6.279e-05/0.1656, allocations: 33.59 kB / 393.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of Cleanup: time 0.000161/0.1657, allocations: 247.7 kB / 393.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of Causalize: time 0.002179/0.1679, allocations: 1.881 MB / 395.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of Tearing: time 2.227e-05/0.1679, allocations: 22.44 kB / 395.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of Initialization: time 5.51e-07/0.1679, allocations: 0 / 395.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of Remove Dummies: time 8.607e-06/0.1679, allocations: 1.781 kB / 395.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of Tearing: time 9.828e-06/0.168, allocations: 21.41 kB / 395.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of Categorize: time 1.203e-05/0.168, allocations: 3.656 kB / 395.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of Solve: time 0.0009248/0.1689, allocations: 0.7874 MB / 396.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0005303/0.1694, allocations: 0.5491 MB / 396.7 MB, free: 9.742 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 6 (6) {innerContactA.s_rel, spool.v, springPlateA.v, springPlateB.v, outerContactA.s_rel, outerContactB.s_rel} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 17 (17) {innerContactA.contact, innerContactB.contact, outerContactA.contact, outerContactB.contact, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 77 (scalar:77, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 90 (scalar:90, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001054/0.1695, allocations: 55.5 kB / 396.8 MB, free: 9.695 MB / 302.1 MB Notification: Performance of SimCode: time 0.001569/0.1711, allocations: 2.313 MB / 399.1 MB, free: 7.926 MB / 302.1 MB Notification: Performance of Templates: time 0.008536/0.1796, allocations: 5.636 MB / 404.7 MB, free: 5.102 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,friction.v_rel,innerContactA.s_rel,innerContactB.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel Variables in the result:fixedLe.flange.s,fixedLe.s0,force.s_support,friction.d,friction.flange_a.s,friction.s_nominal,friction.v_rel,housing.L,housing.flange_a.s,housing.flange_b.s,housing.s,innerContactA.c,innerContactA.d,innerContactA.n,innerContactA.s_nominal,innerContactA.s_rel,innerContactA.s_rel0,innerContactB.c,innerContactB.d,innerContactB.n,innerContactB.s_nominal,innerContactB.s_rel,innerContactB.s_rel0,outerContactA.c,outerContactA.d,outerContactA.flange_a.s,outerContactA.n,outerContactA.s_nominal,outerContactA.s_rel0,outerContactA.v_rel,outerContactB.c,outerContactB.d,outerContactB.flange_b.s,outerContactB.n,outerContactB.s_nominal,outerContactB.s_rel,outerContactB.s_rel0,outerContactB.v_rel,rod1.L,rod2.L,rod3.L,rod4.L,sineForce.amplitude,sineForce.f,sineForce.offset,sineForce.phase,sineForce.startTime,spool.L,spool.flange_b.f,spool.m,spool.stateSelect,spring.c,spring.s_rel0,springPlateA.L,springPlateA.m,springPlateA.stateSelect,springPlateB.L,springPlateB.m,springPlateB.stateSelect,time [Calling sys.exit(0), Time elapsed: 21.003638450056314]