Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.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.001476/0.001476, 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.002487/0.002487, allocations: 205.2 kB / 24.49 MB, free: 3.961 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.477/1.477, 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.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/2.9e-05, allocations: 2.281 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.1897/0.1897, allocations: 3.852 MB / 382.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.1916, allocations: 0.9772 MB / 383.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.1918, allocations: 13.47 kB / 383.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1921, allocations: 99.53 kB / 383.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000477/0.1926, allocations: 195.5 kB / 384.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.193, allocations: 198.4 kB / 384.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009022/0.1939, allocations: 0.8606 MB / 385.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.1942, allocations: 152.9 kB / 385.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004595/0.1947, allocations: 323 kB / 385.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003849/0.1951, allocations: 328.8 kB / 385.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.1952, allocations: 64.83 kB / 386 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.1954, allocations: 62.62 kB / 386.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0008211/0.1962, allocations: 1.234 MB / 387.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003784/0.1966, allocations: 0.7664 MB / 388.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.995e-05/0.1967, allocations: 59.41 kB / 388.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.981e-05/0.1968, allocations: 29 kB / 388.1 MB, free: 10.44 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: 128 (126) * Number of variables: 128 (124) Notification: Performance of [SIM] Bindings: time 0.002215/0.199, allocations: 2.78 MB / 390.9 MB, free: 8.52 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003086/0.1993, allocations: 325.2 kB / 391.2 MB, free: 8.336 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001642/0.2009, allocations: 1.655 MB / 392.9 MB, free: 7.34 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004223/0.2013, allocations: 330.4 kB / 393.2 MB, free: 7.141 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003161/0.2045, allocations: 2.431 MB / 395.6 MB, free: 5.699 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002883/0.2048, allocations: 249.7 kB / 395.9 MB, free: 5.547 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001205/0.2049, allocations: 134.1 kB / 396 MB, free: 5.438 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003401/0.2053, allocations: 323.8 kB / 396.3 MB, free: 5.18 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001717/0.2054, allocations: 104.3 kB / 396.4 MB, free: 5.121 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.000596/0.206, allocations: 0.4901 MB / 396.9 MB, free: 4.91 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002735/0.2088, allocations: 2.077 MB / 399 MB, free: 4.227 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007414/0.2095, allocations: 0.8952 MB / 399.9 MB, free: 3.758 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001307/0.2108, allocations: 0.9302 MB / 400.8 MB, free: 3.238 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001456/0.2123, allocations: 1.741 MB / 402.6 MB, free: 1.934 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 9.952e-05/0.2124, allocations: 53.33 kB / 402.6 MB, free: 1.898 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001768/0.2125, allocations: 258.9 kB / 402.9 MB, free: 1.684 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003453/0.216, allocations: 2.194 MB / 405.1 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.001151/0.2171, allocations: 0.8192 MB / 405.9 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.763e-06/0.2172, allocations: 0 / 405.9 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.093e-05/0.2172, allocations: 288 / 405.9 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.000895/0.2181, allocations: 0.5959 MB / 406.5 MB, free: 312 kB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.613e-05/0.2181, allocations: 3.875 kB / 406.5 MB, free: 312 kB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001079/0.2192, allocations: 0.7303 MB / 407.2 MB, free: 15.92 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.002323/0.2215, allocations: 1.838 MB / 409.1 MB, free: 14.21 MB / 318.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: ............................. 4 (4) {Inductor2.i, Inductor3.i, Capacitor1.v, Capacitor2.v} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 15 (15) {IdealDiode1.off, IdealDiode2.off, IdealDiode3.off, IdealDiode4.off, IdealDiode5.off, IdealDiode6.off, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_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: ........... 29 (scalar:29, 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: ... 4 (linear: 4, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 88 (scalar:88, 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: ... 4 (linear: 4, nonlinear:0) Notification: Performance of backend: time 0.0001021/0.2216, allocations: 46.94 kB / 409.1 MB, free: 14.17 MB / 318.1 MB Notification: Performance of SimCode: time 0.003803/0.2254, allocations: 2.472 MB / 411.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of Templates: time 0.01534/0.2407, allocations: 6.885 MB / 418.5 MB, free: 4.793 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.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.349108648952097]