Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 119.8 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 205 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.286e-05, allocations: 2.281 kB / 359.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge): time 0.00368/0.003712, allocations: 2.973 MB / 362.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.004923, allocations: 0.7439 MB / 363 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.005091, allocations: 11.94 kB / 363 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.005308, allocations: 59.42 kB / 363.1 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.005555, allocations: 115.1 kB / 363.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.005894, allocations: 107.8 kB / 363.3 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004688/0.006372, allocations: 466.2 kB / 363.8 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000318/0.006699, allocations: 225.5 kB / 364 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.006849, allocations: 155.4 kB / 364.1 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.007072, allocations: 187.2 kB / 364.3 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.151e-05/0.00713, allocations: 40 kB / 364.4 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.007246, allocations: 55.98 kB / 364.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003958/0.007648, allocations: 0.5718 MB / 365 MB, free: 7.281 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001882/0.007843, allocations: 362.6 kB / 365.3 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.081e-05/0.00792, allocations: 75.75 kB / 365.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.491e-05/0.00798, allocations: 8 kB / 365.4 MB, free: 6.84 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.001431/0.009416, allocations: 1.756 MB / 367.2 MB, free: 4.977 MB / 302.1 MB Notification: Performance of FunctionAlias: time 7.545e-05/0.009498, allocations: 87.8 kB / 367.3 MB, free: 4.891 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0008733/0.01038, allocations: 1.003 MB / 368.3 MB, free: 3.859 MB / 302.1 MB Notification: Performance of simplify1: time 7.686e-05/0.01046, allocations: 67.92 kB / 368.3 MB, free: 3.793 MB / 302.1 MB Notification: Performance of Alias: time 0.002251/0.01272, allocations: 2.056 MB / 370.4 MB, free: 1.562 MB / 302.1 MB Notification: Performance of simplify2: time 4.678e-05/0.01278, allocations: 39.95 kB / 370.4 MB, free: 1.523 MB / 302.1 MB Notification: Performance of Events: time 0.000153/0.01294, allocations: 97.78 kB / 370.5 MB, free: 1.438 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001997/0.01315, allocations: 176.5 kB / 370.7 MB, free: 1.25 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001952/0.01335, allocations: 190 kB / 370.9 MB, free: 1.043 MB / 302.1 MB Notification: Performance of Causalize: time 0.0006972/0.01406, allocations: 0.6444 MB / 371.5 MB, free: 384 kB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.2025/0.2166, allocations: 450.9 kB / 372 MB, free: 15.43 MB / 302.1 MB Notification: Performance of Inline: time 0.001431/0.2181, allocations: 1.042 MB / 373 MB, free: 15.35 MB / 302.1 MB Notification: Performance of Partitioning: time 7.045e-05/0.2181, allocations: 61.97 kB / 373.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of Cleanup: time 3.997e-05/0.2182, allocations: 30.23 kB / 373.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of Causalize: time 0.001984/0.2202, allocations: 1.354 MB / 374.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of Tearing: time 9.407e-06/0.2202, allocations: 0 / 374.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of Initialization: time 1.543e-06/0.2202, allocations: 1.25 kB / 374.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of Tearing: time 5.249e-06/0.2202, allocations: 4 kB / 374.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of Categorize: time 2.404e-05/0.2203, allocations: 8.062 kB / 374.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of Solve: time 0.0004319/0.2207, allocations: 166.8 kB / 374.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0004138/0.2211, allocations: 372.9 kB / 375 MB, free: 14.9 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 5.392e-05/0.2212, allocations: 42.55 kB / 375 MB, free: 14.88 MB / 302.1 MB Notification: Performance of SimCode: time 0.002293/0.2235, allocations: 1.841 MB / 376.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of Templates: time 0.007995/0.2315, allocations: 2.747 MB / 379.6 MB, free: 13.67 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.makefile (rm -f Modelica_trunk_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.sim & ./Modelica_trunk_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches