Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.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.001627/0.001627, 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.001727/0.001727, allocations: 218.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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.ClockedWithDiscreteController,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.ClockedWithDiscreteController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController,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.ClockedWithDiscreteController") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.323e-05, allocations: 2.281 kB / 378.9 MB, free: 2.508 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController): time 0.003359/0.003382, allocations: 1.973 MB / 380.9 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1782/0.1816, allocations: 0.5371 MB / 381.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.1818, allocations: 2.844 kB / 381.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.1819, allocations: 25.45 kB / 381.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.1821, allocations: 24.14 kB / 381.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.1824, allocations: 59.27 kB / 381.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.1827, allocations: 139.3 kB / 381.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.1828, allocations: 52.66 kB / 381.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.876e-05/0.1829, allocations: 55.2 kB / 381.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.62e-05/0.183, allocations: 59.47 kB / 381.8 MB, free: 13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.937e-05/0.1831, allocations: 10.5 kB / 381.8 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.958e-05/0.1831, allocations: 10.56 kB / 381.9 MB, free: 13 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002109/0.1833, allocations: 235.5 kB / 382.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.997e-05/0.1834, allocations: 161.4 kB / 382.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.1834, allocations: 9.906 kB / 382.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.069e-05/0.1835, allocations: 9.156 kB / 382.3 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: 28 (28) * Number of variables: 28 (28) Notification: Performance of [SIM] Bindings: time 0.0007147/0.1842, allocations: 0.6635 MB / 382.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001117/0.1843, allocations: 82.64 kB / 383 MB, free: 12.31 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002862/0.1846, allocations: 313.1 kB / 383.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001288/0.1847, allocations: 117.2 kB / 383.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001008/0.1857, allocations: 0.7158 MB / 384.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 8.448e-05/0.1858, allocations: 93.88 kB / 384.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.957e-05/0.1858, allocations: 53.62 kB / 384.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001977/0.186, allocations: 143.6 kB / 384.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.628e-05/0.1861, allocations: 39.05 kB / 384.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001867/0.1863, allocations: 124.2 kB / 384.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002954/0.1866, allocations: 215.7 kB / 384.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001392/0.1867, allocations: 161.4 kB / 385 MB, free: 11.45 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000219/0.187, allocations: 152.4 kB / 385.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001891/0.1871, allocations: 213.6 kB / 385.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.612e-05/0.1872, allocations: 16.52 kB / 385.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 3.745e-05/0.1872, allocations: 34.75 kB / 385.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0004311/0.1876, allocations: 263.4 kB / 385.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.515e-05/0.1876, allocations: 9.281 kB / 385.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.8e-07/0.1876, allocations: 1.281 kB / 385.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.328e-06/0.1876, allocations: 0 / 385.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.316e-06/0.1876, allocations: 14.5 kB / 385.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 6.112e-06/0.1877, allocations: 6.234 kB / 385.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001907/0.1878, allocations: 112 kB / 385.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001284/0.188, allocations: 198.8 kB / 386 MB, free: 10.95 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 4.124e-05/0.188, allocations: 26.23 kB / 386 MB, free: 10.93 MB / 302.1 MB Notification: Performance of SimCode: time 0.0005878/0.1886, allocations: 412.2 kB / 386.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of Templates: time 0.003496/0.1921, allocations: 0.8498 MB / 387.2 MB, free: 10.6 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscreteController/ClockedWithDiscreteController.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.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.408092754893005]