Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.001318/0.001318, allocations: 107.6 kB / 21.2 MB, free: 0.6328 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.001389/0.001389, allocations: 221 kB / 24.5 MB, free: 3.922 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.471/1.471, 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.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.349e-05, allocations: 2.281 kB / 378.9 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003118/0.003141, allocations: 1.86 MB / 380.8 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008785/0.00402, allocations: 466.8 kB / 381.2 MB, free: 204 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.018e-05/0.0041, allocations: 8 kB / 381.2 MB, free: 196 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.004203, allocations: 11.86 kB / 381.2 MB, free: 184 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.953e-05/0.004283, allocations: 31.72 kB / 381.3 MB, free: 152 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.004426, allocations: 23.97 kB / 381.3 MB, free: 128 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.004606, allocations: 119.6 kB / 381.4 MB, free: 8 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1722/0.1768, allocations: 34.97 kB / 381.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.177, allocations: 43.67 kB / 381.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.191e-05/0.1771, allocations: 41.28 kB / 381.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.1771, allocations: 9.328 kB / 381.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.537e-05/0.1771, allocations: 7.875 kB / 381.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001675/0.1773, allocations: 193.3 kB / 381.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 6.265e-05/0.1774, allocations: 113.6 kB / 381.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.1774, allocations: 12.59 kB / 381.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.656e-05/0.1775, allocations: 4.969 kB / 381.9 MB, free: 12.89 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: 21 (21) * Number of variables: 21 (21) Notification: Performance of [SIM] Bindings: time 0.0006771/0.1781, allocations: 0.5606 MB / 382.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 9.346e-05/0.1782, allocations: 63.22 kB / 382.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002602/0.1785, allocations: 244.6 kB / 382.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001472/0.1786, allocations: 105.8 kB / 382.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001061/0.1797, allocations: 0.4934 MB / 383.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 9.261e-05/0.1798, allocations: 88.39 kB / 383.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.41e-05/0.1798, allocations: 49.2 kB / 383.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002089/0.18, allocations: 107.3 kB / 383.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.2e-05/0.1801, allocations: 29.48 kB / 383.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.000143/0.1803, allocations: 74.05 kB / 383.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002821/0.1805, allocations: 139.7 kB / 383.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001597/0.1807, allocations: 123.8 kB / 383.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002345/0.1809, allocations: 159.6 kB / 384.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001926/0.1811, allocations: 185.5 kB / 384.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.699e-05/0.1812, allocations: 13.25 kB / 384.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 3.447e-05/0.1812, allocations: 30.75 kB / 384.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0003817/0.1816, allocations: 200.9 kB / 384.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.184e-05/0.1816, allocations: 9.094 kB / 384.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.8e-07/0.1816, allocations: 0 / 384.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.49e-06/0.1816, allocations: 0.5312 kB / 384.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 5.39e-06/0.1816, allocations: 6.688 kB / 384.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.175e-05/0.1816, allocations: 2.031 kB / 384.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002514/0.1819, allocations: 115.5 kB / 384.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002364/0.1821, allocations: 223.1 kB / 384.8 MB, free: 11.34 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: ............................. 3 (3) {load.w, load.phi, PI.x} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (2) {$TEV_1, $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: ........... 10 (scalar:10, 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: ........... 13 (scalar:13, 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 5.629e-05/0.1822, allocations: 27.52 kB / 384.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of SimCode: time 0.0005899/0.1827, allocations: 397.3 kB / 385.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of Templates: time 0.003678/0.1864, allocations: 0.6956 MB / 386 MB, free: 11.05 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.393475950695574]