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.001326/0.001326, allocations: 116.9 kB / 17.76 MB, free: 5.336 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.0009961/0.0009961, allocations: 184.7 kB / 18.68 MB, free: 4.414 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.324/1.324, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.447e-05, allocations: 2.281 kB / 351.9 MB, free: 3.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge): time 0.004563/0.004597, allocations: 2.961 MB / 354.9 MB, free: 336 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.006579, allocations: 0.7128 MB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004522/0.007046, allocations: 7.938 kB / 355.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003385/0.007393, allocations: 63.42 kB / 355.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005041/0.007907, allocations: 103.1 kB / 355.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.008461, allocations: 115.8 kB / 355.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005694/0.009042, allocations: 470.3 kB / 356.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003488/0.009402, allocations: 217.8 kB / 356.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.009639, allocations: 159.4 kB / 356.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.009891, allocations: 179.2 kB / 356.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.33e-05/0.009971, allocations: 40 kB / 356.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.0101, allocations: 55.97 kB / 357 MB, free: 14.22 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004554/0.01057, allocations: 0.5834 MB / 357.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002746/0.01085, allocations: 358.7 kB / 357.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.01099, allocations: 67.81 kB / 358 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001142/0.01111, allocations: 23.88 kB / 358 MB, free: 13.19 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.001818/0.01293, allocations: 1.764 MB / 359.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of FunctionAlias: time 8.702e-05/0.01302, allocations: 75.92 kB / 359.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009852/0.01402, allocations: 0.9912 MB / 360.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001056/0.01413, allocations: 71.92 kB / 360.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of Alias: time 0.002403/0.01654, allocations: 2.068 MB / 363 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simplify2: time 5.67e-05/0.01661, allocations: 35.95 kB / 363 MB, free: 7.867 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001952/0.01681, allocations: 151.9 kB / 363.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of Events: time 0.0001954/0.01702, allocations: 107.2 kB / 363.3 MB, free: 7.609 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002158/0.01724, allocations: 185.4 kB / 363.4 MB, free: 7.406 MB / 302.1 MB Notification: Performance of Causalize: time 0.0007433/0.01799, allocations: 0.6343 MB / 364.1 MB, free: 6.75 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004253/0.01843, allocations: 460.4 kB / 364.5 MB, free: 6.273 MB / 302.1 MB Notification: Performance of Inline: time 0.001073/0.01951, allocations: 1.051 MB / 365.6 MB, free: 5.188 MB / 302.1 MB Notification: Performance of Partitioning: time 6.676e-05/0.01959, allocations: 66.33 kB / 365.6 MB, free: 5.113 MB / 302.1 MB Notification: Performance of Cleanup: time 4.033e-05/0.01963, allocations: 27.97 kB / 365.7 MB, free: 5.086 MB / 302.1 MB Notification: Performance of Causalize: time 0.001598/0.02124, allocations: 1.357 MB / 367 MB, free: 3.727 MB / 302.1 MB Notification: Performance of Tearing: time 1.079e-05/0.02126, allocations: 0 / 367 MB, free: 3.727 MB / 302.1 MB Notification: Performance of Initialization: time 3.3e-07/0.02126, allocations: 0 / 367 MB, free: 3.727 MB / 302.1 MB Notification: Performance of Tearing: time 2.926e-06/0.02127, allocations: 0 / 367 MB, free: 3.727 MB / 302.1 MB Notification: Performance of Categorize: time 1.012e-05/0.02129, allocations: 4 kB / 367 MB, free: 3.723 MB / 302.1 MB Notification: Performance of Solve: time 0.0002629/0.02155, allocations: 173.9 kB / 367.2 MB, free: 3.555 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0003134/0.02188, allocations: 366 kB / 367.6 MB, free: 3.16 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.403e-05/0.02194, allocations: 38.86 kB / 367.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of SimCode: time 0.001614/0.02356, allocations: 1.869 MB / 369.5 MB, free: 1.227 MB / 302.1 MB Notification: Performance of Templates: time 0.1621/0.1856, allocations: 2.693 MB / 372.2 MB, free: 19.06 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