Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.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.001231/0.001231, allocations: 107.6 kB / 21.2 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.001328/0.001328, allocations: 211.5 kB / 24.49 MB, free: 3.961 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.456/1.456, 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.Translational.Examples.Brake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake") translateModel(Modelica.Mechanics.Translational.Examples.Brake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.73e-05, allocations: 2.281 kB / 378.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Brake): time 0.00414/0.004167, allocations: 2.427 MB / 381.3 MB, free: 108 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2158/0.22, allocations: 0.5707 MB / 381.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003815/0.2203, allocations: 7.156 kB / 381.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000476/0.2208, allocations: 64.88 kB / 382 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.2212, allocations: 135.6 kB / 382.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.2216, allocations: 174.2 kB / 382.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006248/0.2222, allocations: 0.5581 MB / 382.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.2224, allocations: 53.94 kB / 382.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/0.2226, allocations: 236.8 kB / 383.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.2229, allocations: 254.7 kB / 383.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.551e-05/0.223, allocations: 40.38 kB / 383.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.2232, allocations: 90.83 kB / 383.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005722/0.2238, allocations: 0.7719 MB / 384.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002017/0.224, allocations: 414.5 kB / 384.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.2241, allocations: 27.56 kB / 384.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.74e-05/0.2241, allocations: 17.16 kB / 384.7 MB, free: 12.26 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: 73 (71) * Number of variables: 73 (71) Notification: Performance of [SIM] Bindings: time 0.001602/0.2257, allocations: 1.724 MB / 386.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003874/0.2261, allocations: 349.9 kB / 386.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001029/0.2271, allocations: 1.173 MB / 388 MB, free: 10.45 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003286/0.2274, allocations: 257 kB / 388.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002051/0.2295, allocations: 1.546 MB / 389.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002478/0.2297, allocations: 201.9 kB / 390 MB, free: 9.199 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001401/0.2299, allocations: 128.9 kB / 390.1 MB, free: 9.098 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004351/0.2303, allocations: 385.8 kB / 390.5 MB, free: 8.824 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.000411/0.2307, allocations: 270.3 kB / 390.7 MB, free: 8.688 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006847/0.2314, allocations: 0.5525 MB / 391.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.004067/0.2355, allocations: 3.04 MB / 394.3 MB, free: 7.414 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001108/0.2366, allocations: 1.204 MB / 395.5 MB, free: 6.801 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002219/0.2388, allocations: 0.6593 MB / 396.2 MB, free: 6.41 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001409/0.2402, allocations: 1.623 MB / 397.8 MB, free: 5.578 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.721e-05/0.2403, allocations: 39.89 kB / 397.8 MB, free: 5.551 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001888/0.2405, allocations: 272.1 kB / 398.1 MB, free: 5.383 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002418/0.2429, allocations: 1.828 MB / 399.9 MB, free: 4.785 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0007055/0.2436, allocations: 0.547 MB / 400.5 MB, free: 4.562 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 7.22e-07/0.2436, allocations: 0 / 400.5 MB, free: 4.562 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.615e-06/0.2436, allocations: 4.438 kB / 400.5 MB, free: 4.559 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0006194/0.2442, allocations: 0.5013 MB / 401 MB, free: 4.348 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.101e-05/0.2442, allocations: 3.938 kB / 401 MB, free: 4.348 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0008404/0.2451, allocations: 0.7201 MB / 401.7 MB, free: 3.969 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.001311/0.2464, allocations: 1.384 MB / 403.1 MB, free: 2.914 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: ............................. 4 (4) {brake.s_b, brake.v_relfric, brake1.v_relfric, mass2.s} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 33 (33) {brake.free, brake.startForward, brake.startBackward, brake.locked, brake.mode, brake1.free, brake1.startForward, brake1.startBackward, brake1.locked, brake1.mode, $FUN_4, $FUN_8, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $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: ........... 45 (scalar:45, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 62 (scalar:60, array:0, record:2) * 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 5.573e-05/0.2464, allocations: 61.02 kB / 403.2 MB, free: 2.863 MB / 302.1 MB Notification: Performance of SimCode: time 0.004175/0.2506, allocations: 2.586 MB / 405.7 MB, free: 1.113 MB / 302.1 MB Notification: Performance of Templates: time 0.01484/0.2655, allocations: 8.164 MB / 413.9 MB, free: 9.949 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Brake/Brake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.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.771484797820449]