Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.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.001323/0.001323, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.00148/0.00148, allocations: 217.1 kB / 24.5 MB, free: 3.926 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.431/1.431, allocations: 230.6 MB / 258.3 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.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController,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.ClockedWithDiscreteTextbookController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController,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.ClockedWithDiscreteTextbookController") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.291e-05, allocations: 2.281 kB / 378.9 MB, free: 2.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController): time 0.003806/0.003829, allocations: 1.978 MB / 380.9 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.0051, allocations: 0.5064 MB / 381.4 MB, free: 24 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.005239, allocations: 4 kB / 381.4 MB, free: 20 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.00538, allocations: 15.8 kB / 381.4 MB, free: 4 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1958/0.2011, allocations: 25.86 kB / 381.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.2015, allocations: 61.56 kB / 381.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.2017, allocations: 135.2 kB / 381.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.2019, allocations: 52.86 kB / 381.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.683e-05/0.202, allocations: 59.7 kB / 381.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.055e-05/0.2021, allocations: 54.84 kB / 381.8 MB, free: 13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.2021, allocations: 9.75 kB / 381.8 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.659e-05/0.2021, allocations: 11.03 kB / 381.8 MB, free: 13 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001892/0.2023, allocations: 233.9 kB / 382 MB, free: 12.89 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.95e-05/0.2024, allocations: 151.6 kB / 382.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.2024, allocations: 10.5 kB / 382.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.518e-05/0.2025, allocations: 9.406 kB / 382.2 MB, free: 12.79 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: 27 (27) * Number of variables: 27 (27) Notification: Performance of [SIM] Bindings: time 0.0006344/0.2031, allocations: 0.6456 MB / 382.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001029/0.2032, allocations: 79.86 kB / 382.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002647/0.2035, allocations: 305.1 kB / 383.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001227/0.2036, allocations: 109.3 kB / 383.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0009442/0.2045, allocations: 0.7064 MB / 384 MB, free: 11.86 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 7.065e-05/0.2046, allocations: 89.84 kB / 384.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.494e-05/0.2046, allocations: 55.59 kB / 384.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001867/0.2048, allocations: 143 kB / 384.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.953e-05/0.2049, allocations: 33.59 kB / 384.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001753/0.2051, allocations: 121.9 kB / 384.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.000267/0.2053, allocations: 193.2 kB / 384.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001187/0.2055, allocations: 154 kB / 384.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000173/0.2056, allocations: 156.9 kB / 385 MB, free: 11.31 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001555/0.2058, allocations: 194.4 kB / 385.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.195e-05/0.2058, allocations: 13.45 kB / 385.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 3.085e-05/0.2058, allocations: 35.23 kB / 385.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0003962/0.2062, allocations: 262.5 kB / 385.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.166e-05/0.2062, allocations: 5 kB / 385.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.3e-07/0.2062, allocations: 1.125 kB / 385.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.33e-06/0.2062, allocations: 8.562 kB / 385.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.697e-06/0.2063, allocations: 1.594 kB / 385.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 7.344e-06/0.2063, allocations: 5.094 kB / 385.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.000181/0.2064, allocations: 114.7 kB / 385.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001101/0.2065, allocations: 196.7 kB / 385.8 MB, free: 11.01 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.y} * 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.544e-05/0.2066, allocations: 27.33 kB / 385.8 MB, free: 11 MB / 302.1 MB Notification: Performance of SimCode: time 0.0005141/0.2071, allocations: 417.9 kB / 386.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of Templates: time 0.003352/0.2105, allocations: 0.8117 MB / 387 MB, free: 10.7 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscreteTextbookController/ClockedWithDiscreteTextbookController.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.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.373461316339672]