Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.001912/0.001912, 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.002262/0.002262, allocations: 221.1 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.481/1.481, allocations: 230.6 MB / 258.3 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.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.194e-05, allocations: 6.219 kB / 378.9 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.1705/0.1705, allocations: 2.707 MB / 381.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1719, allocations: 0.6774 MB / 382.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.172, allocations: 10.53 kB / 382.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.1722, allocations: 59.09 kB / 382.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.1724, allocations: 88.14 kB / 382.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.1727, allocations: 91.81 kB / 382.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004449/0.1731, allocations: 427.5 kB / 383 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.1733, allocations: 109.8 kB / 383.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.1736, allocations: 159.6 kB / 383.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.1738, allocations: 154.8 kB / 383.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.648e-05/0.1738, allocations: 36.78 kB / 383.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.194e-05/0.1739, allocations: 32.03 kB / 383.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004056/0.1743, allocations: 0.6223 MB / 384.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001738/0.1745, allocations: 397.7 kB / 384.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.061e-05/0.1745, allocations: 34.25 kB / 384.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.151e-05/0.1746, allocations: 7.25 kB / 384.5 MB, free: 12.21 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: 79 (79) * Number of variables: 79 (79) Notification: Performance of [SIM] Bindings: time 0.001364/0.176, allocations: 1.555 MB / 386.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002108/0.1762, allocations: 184.5 kB / 386.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006867/0.1769, allocations: 0.7948 MB / 387 MB, free: 10.78 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000281/0.1771, allocations: 227.3 kB / 387.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.00215/0.1793, allocations: 1.596 MB / 388.9 MB, free: 9.812 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001502/0.1794, allocations: 153.8 kB / 389 MB, free: 9.688 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 6.263e-05/0.1795, allocations: 70.5 kB / 389.1 MB, free: 9.617 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002158/0.1797, allocations: 188.7 kB / 389.3 MB, free: 9.441 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001218/0.1798, allocations: 73.36 kB / 389.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002857/0.1801, allocations: 243.4 kB / 389.6 MB, free: 9.25 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0006059/0.1807, allocations: 423 kB / 390 MB, free: 9.098 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003363/0.1811, allocations: 367.1 kB / 390.4 MB, free: 8.914 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0004722/0.1815, allocations: 368.7 kB / 390.7 MB, free: 8.664 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.000511/0.182, allocations: 0.5641 MB / 391.3 MB, free: 8.359 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.347e-05/0.1821, allocations: 25.14 kB / 391.3 MB, free: 8.34 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 8.078e-05/0.1822, allocations: 104.4 kB / 391.4 MB, free: 8.281 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0008805/0.183, allocations: 0.6807 MB / 392.1 MB, free: 8.117 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.17e-05/0.1831, allocations: 26.88 kB / 392.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.41e-07/0.1831, allocations: 0 / 392.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.464e-06/0.1831, allocations: 1.609 kB / 392.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.354e-06/0.1831, allocations: 13.5 kB / 392.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.178e-05/0.1831, allocations: 6.062 kB / 392.1 MB, free: 8.086 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0004336/0.1835, allocations: 321.1 kB / 392.4 MB, free: 7.969 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002606/0.1838, allocations: 308.5 kB / 392.7 MB, free: 7.719 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * 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: ............................. 6 (6) {sineVoltage.phi, currentSensor1.i, capacitor1.v, cosineVoltage.phi, currentSensor2.i, capacitor2.v} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {$SEV_1, $SEV_0, $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: ........... 31 (scalar:31, 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: ........... 47 (scalar:47, 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 0.0001084/0.1839, allocations: 43.66 kB / 392.8 MB, free: 7.695 MB / 302.1 MB Notification: Performance of SimCode: time 0.001162/0.1851, allocations: 0.9518 MB / 393.7 MB, free: 7.223 MB / 302.1 MB Notification: Performance of Templates: time 0.01291/0.198, allocations: 2.117 MB / 395.9 MB, free: 6.977 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.6414062501862645]