Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.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.00128/0.00128, 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.001513/0.001513, allocations: 205.2 kB / 24.49 MB, free: 3.965 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.463/1.463, allocations: 230.6 MB / 258.2 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.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Modulation") translateModel(Modelica.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.286e-05, allocations: 2.281 kB / 378.9 MB, free: 2.508 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003085/0.003107, allocations: 1.909 MB / 380.8 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1695/0.1726, allocations: 0.6018 MB / 381.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003629/0.1729, allocations: 10.09 kB / 381.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.1731, allocations: 45.22 kB / 381.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.1732, allocations: 36.84 kB / 381.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.1736, allocations: 78.91 kB / 381.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.1739, allocations: 259.6 kB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.1741, allocations: 60.66 kB / 381.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.1743, allocations: 91.64 kB / 382 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.1745, allocations: 86.69 kB / 382.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.1745, allocations: 12.69 kB / 382.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.287e-05/0.1746, allocations: 16.95 kB / 382.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002645/0.1748, allocations: 385.1 kB / 382.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.00013/0.1749, allocations: 261.9 kB / 382.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.175, allocations: 16.47 kB / 382.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.906e-05/0.175, allocations: 11.38 kB / 382.8 MB, free: 12.62 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: 32 (32) * Number of variables: 32 (32) Notification: Performance of [SIM] Bindings: time 0.000812/0.1758, allocations: 0.9338 MB / 383.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.00018/0.176, allocations: 125.6 kB / 383.8 MB, free: 12 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004176/0.1764, allocations: 457.6 kB / 384.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001301/0.1765, allocations: 130.3 kB / 384.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0009603/0.1775, allocations: 0.6699 MB / 385.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 8.875e-05/0.1776, allocations: 101.4 kB / 385.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.384e-05/0.1776, allocations: 64.97 kB / 385.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001728/0.1778, allocations: 154 kB / 385.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.585e-05/0.1779, allocations: 34.47 kB / 385.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002039/0.1781, allocations: 157.5 kB / 385.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003519/0.1784, allocations: 247.8 kB / 385.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001939/0.1786, allocations: 224.5 kB / 386 MB, free: 11.03 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0004217/0.1791, allocations: 381.7 kB / 386.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0004033/0.1795, allocations: 484.9 kB / 386.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.984e-05/0.1795, allocations: 24.89 kB / 386.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 6.488e-05/0.1796, allocations: 77.38 kB / 387 MB, free: 10.45 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0007449/0.1803, allocations: 0.597 MB / 387.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.886e-05/0.1803, allocations: 29.28 kB / 387.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 6.81e-07/0.1803, allocations: 0 / 387.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.498e-06/0.1803, allocations: 1.344 kB / 387.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.619e-06/0.1803, allocations: 11.22 kB / 387.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.438e-06/0.1803, allocations: 4.938 kB / 387.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002862/0.1806, allocations: 216.9 kB / 387.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002406/0.1809, allocations: 0.5854 MB / 388.4 MB, free: 9.578 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: ............... 2 * 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: ............................. 5 (5) {sine.phi, sinAM.phi, cosAM.phi, sinFM.phi, cosFM.phi} * 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: ........... 19 (scalar:19, 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: ........... 42 (scalar:42, 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.023e-05/0.1809, allocations: 29.27 kB / 388.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of SimCode: time 0.0009232/0.1818, allocations: 0.7345 MB / 389.2 MB, free: 9.105 MB / 302.1 MB Notification: Performance of Templates: time 0.004541/0.1864, allocations: 1.453 MB / 390.6 MB, free: 8.934 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.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.616105977911502]