Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.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.001371/0.001371, 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.001517/0.001517, allocations: 218.9 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.466/1.466, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.Batteries.Examples.SuperCapDischargeCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=72000,variableFilter="time|energy.y|superCap.capacitor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge") translateModel(Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=72000,variableFilter="time|energy.y|superCap.capacitor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.564e-05, allocations: 2.281 kB / 378.9 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge): time 0.1995/0.1995, allocations: 2.79 MB / 381.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.2011, allocations: 0.7208 MB / 382.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.2013, allocations: 10.47 kB / 382.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.2014, allocations: 62.19 kB / 382.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.2017, allocations: 110 kB / 382.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.202, allocations: 109.4 kB / 382.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004871/0.2025, allocations: 488.2 kB / 383.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.2027, allocations: 138.5 kB / 383.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.2029, allocations: 171.6 kB / 383.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.2031, allocations: 181.3 kB / 383.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.928e-05/0.2032, allocations: 40.03 kB / 383.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.2033, allocations: 58.56 kB / 383.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004882/0.2038, allocations: 0.7175 MB / 384.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002331/0.204, allocations: 448 kB / 384.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.881e-05/0.2041, allocations: 33.09 kB / 385 MB, free: 12.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.023e-05/0.2041, allocations: 15.08 kB / 385 MB, free: 12.11 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: 77 (77) * Number of variables: 77 (77) Notification: Performance of [SIM] Bindings: time 0.001454/0.2056, allocations: 1.73 MB / 386.7 MB, free: 10.97 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002346/0.2058, allocations: 213.2 kB / 386.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0009165/0.2068, allocations: 1.082 MB / 388 MB, free: 10.14 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003188/0.2071, allocations: 239.6 kB / 388.2 MB, free: 9.988 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002244/0.2093, allocations: 1.686 MB / 389.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001718/0.2095, allocations: 143.4 kB / 390 MB, free: 8.969 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 6.829e-05/0.2096, allocations: 85.83 kB / 390.1 MB, free: 8.883 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001974/0.2098, allocations: 186 kB / 390.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001531/0.2099, allocations: 100.2 kB / 390.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002855/0.2102, allocations: 254.8 kB / 390.7 MB, free: 8.527 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.000796/0.211, allocations: 0.5488 MB / 391.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004394/0.2114, allocations: 0.5088 MB / 391.7 MB, free: 8.109 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000751/0.2122, allocations: 0.5215 MB / 392.2 MB, free: 7.777 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0007802/0.213, allocations: 0.8954 MB / 393.1 MB, free: 7.281 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.262e-05/0.213, allocations: 22.98 kB / 393.2 MB, free: 7.262 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001078/0.2131, allocations: 125.2 kB / 393.3 MB, free: 7.188 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001387/0.2145, allocations: 1.004 MB / 394.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.707e-05/0.2145, allocations: 32.44 kB / 394.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 6.11e-07/0.2145, allocations: 0 / 394.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.724e-06/0.2145, allocations: 1.312 kB / 394.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 9.758e-06/0.2145, allocations: 16.53 kB / 394.3 MB, free: 6.926 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.271e-05/0.2146, allocations: 7 kB / 394.3 MB, free: 6.922 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0005451/0.2151, allocations: 346.1 kB / 394.7 MB, free: 6.793 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0004244/0.2155, allocations: 406.2 kB / 395.1 MB, free: 6.512 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: ............................. 2 (2) {superCap.capacitor.v, energy.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 26 (10) {pulseSeries.on1, pulseSeries.on2, $FUN_1, $FUN_2, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_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: ........... 28 (scalar:28, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, 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: ........... 49 (scalar:49, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 6 (resizable: 6, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001219/0.2156, allocations: 49.75 kB / 395.1 MB, free: 6.473 MB / 302.1 MB Notification: Performance of SimCode: time 0.001982/0.2176, allocations: 1.379 MB / 396.5 MB, free: 5.828 MB / 302.1 MB Notification: Performance of Templates: time 0.007653/0.2253, allocations: 3.224 MB / 399.7 MB, free: 4.645 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.sim & ./Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Batteries/Examples/SuperCapDischargeCharge/SuperCapDischargeCharge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.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.961305767297745]