Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=144000,variableFilter="time|energy.y|superCap.capacitor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge") translateModel(Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=144000,variableFilter="time|energy.y|superCap.capacitor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 113 kB / 17.75 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 184.7 kB / 18.68 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.492e-05, allocations: 2.281 kB / 351.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge): time 0.003923/0.003956, allocations: 2.961 MB / 354.9 MB, free: 308 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.005261, allocations: 0.7128 MB / 355.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.005436, allocations: 11.94 kB / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.005671, allocations: 59.44 kB / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.005937, allocations: 111 kB / 355.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.0063, allocations: 107.9 kB / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.006782, allocations: 474.2 kB / 356.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.007122, allocations: 217.8 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.007282, allocations: 163.4 kB / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.007515, allocations: 175.3 kB / 356.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.426e-05/0.007576, allocations: 40 kB / 356.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.007693, allocations: 63.86 kB / 357 MB, free: 14.18 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004189/0.008119, allocations: 0.5718 MB / 357.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001834/0.00831, allocations: 362.6 kB / 357.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.356e-05/0.00838, allocations: 63.81 kB / 358 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.841e-05/0.008458, allocations: 19.94 kB / 358 MB, free: 13.16 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 Bindings: time 0.001482/0.009947, allocations: 1.76 MB / 359.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FunctionAlias: time 7.017e-05/0.01002, allocations: 75.92 kB / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009633/0.01099, allocations: 0.9911 MB / 360.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simplify1: time 8.033e-05/0.01108, allocations: 79.91 kB / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of Alias: time 0.002307/0.0134, allocations: 2.072 MB / 363 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simplify2: time 4.516e-05/0.01345, allocations: 39.89 kB / 363 MB, free: 7.832 MB / 302.1 MB Notification: Performance of Events: time 0.0001668/0.01363, allocations: 86.81 kB / 363.1 MB, free: 7.75 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002337/0.01387, allocations: 174.6 kB / 363.3 MB, free: 7.566 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000202/0.01408, allocations: 189.4 kB / 363.4 MB, free: 7.359 MB / 302.1 MB Notification: Performance of Causalize: time 0.0006971/0.01478, allocations: 0.6505 MB / 364.1 MB, free: 6.688 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003993/0.01519, allocations: 456.2 kB / 364.5 MB, free: 6.215 MB / 302.1 MB Notification: Performance of Inline: time 0.001036/0.01623, allocations: 1.04 MB / 365.6 MB, free: 5.141 MB / 302.1 MB Notification: Performance of Partitioning: time 6.155e-05/0.01631, allocations: 62.28 kB / 365.6 MB, free: 5.07 MB / 302.1 MB Notification: Performance of Cleanup: time 3.217e-05/0.01634, allocations: 35.95 kB / 365.7 MB, free: 5.035 MB / 302.1 MB Notification: Performance of Causalize: time 0.001501/0.01785, allocations: 1.357 MB / 367 MB, free: 3.676 MB / 302.1 MB Notification: Performance of Tearing: time 7.584e-06/0.01787, allocations: 0 / 367 MB, free: 3.676 MB / 302.1 MB Notification: Performance of Initialization: time 2.91e-07/0.01787, allocations: 0 / 367 MB, free: 3.676 MB / 302.1 MB Notification: Performance of Tearing: time 2.435e-06/0.01788, allocations: 0 / 367 MB, free: 3.676 MB / 302.1 MB Notification: Performance of Categorize: time 1.385e-05/0.0179, allocations: 4 kB / 367 MB, free: 3.672 MB / 302.1 MB Notification: Performance of Solve: time 0.00025/0.01815, allocations: 169.9 kB / 367.2 MB, free: 3.508 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0003138/0.01848, allocations: 362 kB / 367.6 MB, free: 3.117 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {pulseSeries.on1, pulseSeries.on2, $SEV_3, $SEV_2, $SEV_1, $SEV_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: ......... 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: ........... 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: ......... 2 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.461e-05/0.01853, allocations: 42.94 kB / 367.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of SimCode: time 0.001597/0.02014, allocations: 1.855 MB / 369.5 MB, free: 1.191 MB / 302.1 MB Notification: Performance of Templates: time 0.1997/0.2198, allocations: 2.739 MB / 372.2 MB, free: 18.99 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.sim & ./Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Batteries/Examples/SuperCapDischargeCharge/SuperCapDischargeCharge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches