Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.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.001324/0.001324, allocations: 107.6 kB / 21.2 MB, free: 0.4922 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.001515/0.001515, allocations: 214.8 kB / 24.5 MB, free: 3.801 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.5/1.5, allocations: 230.6 MB / 258.3 MB, free: 7.816 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.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.572e-05, allocations: 2.281 kB / 378.9 MB, free: 2.566 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController): time 0.00356/0.003585, allocations: 2.005 MB / 380.9 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2172/0.2208, allocations: 0.578 MB / 381.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003328/0.2211, allocations: 2.844 kB / 381.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.2213, allocations: 20.3 kB / 381.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.2216, allocations: 31.47 kB / 381.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.222, allocations: 75.42 kB / 381.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.2223, allocations: 149 kB / 381.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.2225, allocations: 45.77 kB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.2226, allocations: 64.97 kB / 381.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.2228, allocations: 58.55 kB / 381.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.2228, allocations: 11.22 kB / 381.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.122e-05/0.2228, allocations: 11.66 kB / 382 MB, free: 13 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002458/0.2231, allocations: 258.5 kB / 382.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.62e-05/0.2232, allocations: 164.7 kB / 382.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.2232, allocations: 10.06 kB / 382.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.375e-05/0.2232, allocations: 11.81 kB / 382.4 MB, free: 12.77 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: 28 (28) * Number of variables: 28 (28) Notification: Performance of [SIM] Bindings: time 0.0007568/0.224, allocations: 0.6935 MB / 383.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001218/0.2241, allocations: 79.45 kB / 383.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.000315/0.2244, allocations: 319.7 kB / 383.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001417/0.2246, allocations: 113 kB / 383.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001053/0.2256, allocations: 0.7455 MB / 384.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 8.316e-05/0.2257, allocations: 92.22 kB / 384.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.949e-05/0.2257, allocations: 56.52 kB / 384.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001968/0.2259, allocations: 144.7 kB / 384.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.349e-05/0.226, allocations: 26.55 kB / 384.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.000193/0.2262, allocations: 129.2 kB / 384.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003011/0.2265, allocations: 219.5 kB / 385 MB, free: 11.41 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001421/0.2267, allocations: 158.8 kB / 385.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001983/0.2269, allocations: 156.8 kB / 385.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001992/0.2271, allocations: 210.9 kB / 385.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.659e-05/0.2271, allocations: 16.41 kB / 385.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 3.868e-05/0.2271, allocations: 37 kB / 385.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.00042/0.2275, allocations: 258.8 kB / 385.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.275e-05/0.2275, allocations: 6.656 kB / 385.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.7e-07/0.2275, allocations: 0 / 385.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.829e-06/0.2275, allocations: 5.406 kB / 385.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.017e-06/0.2276, allocations: 2.938 kB / 385.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.407e-06/0.2276, allocations: 13.61 kB / 385.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001818/0.2277, allocations: 110.2 kB / 385.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001173/0.2279, allocations: 195.9 kB / 386.1 MB, free: 10.89 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ............................. 2 (2) {load.w, load.phi} * Number of discrete states: .................... 1 (1) {PI.y} * Number of clocked states: ..................... 1 (1) {PI.x} * Number of discrete variables: ................. 2 (2) {$TEV_1, $TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock.c} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, 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: ........... 12 (scalar:12, 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 3.827e-05/0.2279, allocations: 28.3 kB / 386.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006994/0.2286, allocations: 476.4 kB / 386.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of Templates: time 0.003531/0.2321, allocations: 0.8577 MB / 387.5 MB, free: 10.53 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ExactlyClockedWithDiscreteController/ExactlyClockedWithDiscreteController.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.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.4385898490436375]