Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.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.001521/0.001521, 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.001811/0.001811, allocations: 215.5 kB / 24.5 MB, free: 3.93 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.455/1.455, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.161e-05, allocations: 2.281 kB / 378.9 MB, free: 2.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.195/0.195, allocations: 5.592 MB / 384.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003549/0.1985, allocations: 2.113 MB / 386.6 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003674/0.1989, allocations: 24.94 kB / 386.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.2005, allocations: 0.7201 MB / 387.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.202, allocations: 0.5876 MB / 388 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009814/0.203, allocations: 0.5191 MB / 388.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.2043, allocations: 1.421 MB / 389.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000977/0.2053, allocations: 0.7394 MB / 390.7 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005601/0.2058, allocations: 0.4977 MB / 391.2 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005243/0.2063, allocations: 0.5516 MB / 391.7 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.2065, allocations: 110 kB / 391.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005656/0.2071, allocations: 291 kB / 392.1 MB, free: 8.113 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001666/0.2087, allocations: 2.229 MB / 394.3 MB, free: 6.586 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008699/0.2096, allocations: 1.422 MB / 395.7 MB, free: 5.582 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.2098, allocations: 92.12 kB / 395.8 MB, free: 5.582 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.000155/0.2099, allocations: 41.88 kB / 395.9 MB, free: 5.57 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: 251 (234) * Number of variables: 251 (248) Notification: Performance of [SIM] Bindings: time 0.004405/0.2143, allocations: 5.551 MB / 401.4 MB, free: 1.793 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007651/0.2151, allocations: 0.7945 MB / 402.2 MB, free: 1.258 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.00415/0.2192, allocations: 4.1 MB / 406.3 MB, free: 14.68 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001046/0.2203, allocations: 0.644 MB / 407 MB, free: 14.22 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.006063/0.2264, allocations: 4.079 MB / 411 MB, free: 11.15 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0007063/0.2271, allocations: 0.491 MB / 411.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003534/0.2274, allocations: 293.6 kB / 411.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0008939/0.2283, allocations: 0.7526 MB / 412.6 MB, free: 9.844 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0004225/0.2287, allocations: 272 kB / 412.8 MB, free: 9.668 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001629/0.2304, allocations: 1.321 MB / 414.2 MB, free: 8.727 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.005587/0.2359, allocations: 3.803 MB / 418 MB, free: 5.004 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002431/0.2384, allocations: 2.385 MB / 420.4 MB, free: 2.617 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.00246/0.2408, allocations: 1.269 MB / 421.6 MB, free: 1.223 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.004127/0.245, allocations: 4.09 MB / 425.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0001728/0.2451, allocations: 72.06 kB / 425.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0006178/0.2458, allocations: 0.6087 MB / 426.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.009939/0.2557, allocations: 6.713 MB / 433.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.001018/0.2567, allocations: 0.7178 MB / 433.8 MB, free: 4.887 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 1.403e-06/0.2567, allocations: 0 / 433.8 MB, free: 4.887 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.967e-05/0.2567, allocations: 8.938 kB / 433.8 MB, free: 4.879 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.0009124/0.2577, allocations: 0.6071 MB / 434.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 3.485e-05/0.2577, allocations: 7.938 kB / 434.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.002448/0.2601, allocations: 1.664 MB / 436.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.00341/0.2636, allocations: 2.57 MB / 438.7 MB, free: 15.84 MB / 350.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 9 * 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) {voltageQS.pin_p.reference.gamma, iAC.mean1.x, iAC.mean2.x, iDC2.mean.x} * Number of discrete states: .................... 3 (3) {iDC2.mean.y_last, iAC.mean2.y_last, iAC.mean1.y_last} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 23 (23) {rectifierAC.idealDiode1.off, rectifierAC.idealDiode2.off, rectifierAC.idealDiode3.off, rectifierAC.idealDiode4.off, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_10, $TEV_9, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $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: ........... 124 (scalar:124, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, if:0, tuple:2) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 172 (scalar:172, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 0.000111/0.2637, allocations: 82.27 kB / 438.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of SimCode: time 0.00708/0.2707, allocations: 5.464 MB / 444.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Templates: time 0.02709/0.2978, allocations: 14.9 MB / 459.1 MB, free: 11.38 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.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: 6.549771477933973]