Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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.001466/0.001466, 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.001479/0.001479, 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.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.987e-05/2.987e-05, allocations: 5.375 kB / 378.9 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.1812/0.1812, allocations: 2.538 MB / 381.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.1831, allocations: 0.6884 MB / 382.2 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.1832, allocations: 4.719 kB / 382.2 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.1833, allocations: 42.06 kB / 382.2 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.1835, allocations: 81.53 kB / 382.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.1838, allocations: 112.4 kB / 382.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003725/0.1842, allocations: 411.6 kB / 382.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.1843, allocations: 64.48 kB / 382.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.1846, allocations: 161.9 kB / 383 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.1847, allocations: 160.8 kB / 383.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.987e-05/0.1848, allocations: 31 kB / 383.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.883e-05/0.1849, allocations: 32.31 kB / 383.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003653/0.1852, allocations: 0.5585 MB / 383.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001254/0.1854, allocations: 319 kB / 384.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.1854, allocations: 28.53 kB / 384.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.284e-05/0.1855, allocations: 13.3 kB / 384.2 MB, free: 12.38 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: 49 (49) * Number of variables: 49 (49) Notification: Performance of [SIM] Bindings: time 0.001067/0.1865, allocations: 1.35 MB / 385.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002896/0.1868, allocations: 246.9 kB / 385.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0008195/0.1876, allocations: 0.9357 MB / 386.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002956/0.1879, allocations: 263.9 kB / 386.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001406/0.1893, allocations: 1.196 MB / 388.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002279/0.1896, allocations: 228.6 kB / 388.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 7.417e-05/0.1896, allocations: 92.23 kB / 388.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002192/0.1899, allocations: 214.6 kB / 388.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001464/0.19, allocations: 108.2 kB / 388.8 MB, free: 9.785 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003461/0.1903, allocations: 327.7 kB / 389.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0007236/0.1911, allocations: 0.5766 MB / 389.7 MB, free: 9.465 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000512/0.1916, allocations: 0.6135 MB / 390.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0005601/0.1921, allocations: 462.7 kB / 390.7 MB, free: 8.895 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0008918/0.193, allocations: 1.043 MB / 391.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.28e-05/0.1931, allocations: 25.03 kB / 391.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001352/0.1932, allocations: 156.8 kB / 392 MB, free: 8.285 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0009974/0.1942, allocations: 0.7892 MB / 392.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0003127/0.1945, allocations: 255 kB / 393 MB, free: 8.027 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 7.91e-07/0.1945, allocations: 0 / 393 MB, free: 8.027 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.352e-06/0.1945, allocations: 5.375 kB / 393 MB, free: 8.023 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0003158/0.1948, allocations: 218 kB / 393.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.749e-05/0.1949, allocations: 3.359 kB / 393.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0004922/0.1953, allocations: 367.3 kB / 393.6 MB, free: 7.848 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0008775/0.1962, allocations: 0.8848 MB / 394.5 MB, free: 7.258 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: ......... 2 * 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: ............................. 1 (1) {CL.v} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (7) {$SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 21 (scalar:21, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 33 (scalar:33, 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: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 4.191e-05/0.1963, allocations: 26.11 kB / 394.5 MB, free: 7.238 MB / 302.1 MB Notification: Performance of SimCode: time 0.001414/0.1977, allocations: 1.177 MB / 395.7 MB, free: 6.754 MB / 302.1 MB Notification: Performance of Templates: time 0.06123/0.2589, allocations: 3.879 MB / 399.5 MB, free: 4.918 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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: 5.177482652943581]