Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.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.001808/0.001808, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001435/0.001435, allocations: 206.8 kB / 24.49 MB, free: 3.961 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.CCCV_Cell,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|cell.cell.limIntegrator.y|cell.limIntegrator.y|energy.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell") translateModel(Modelica.Electrical.Batteries.Examples.CCCV_Cell,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|cell.cell.limIntegrator.y|cell.limIntegrator.y|energy.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.752e-05, allocations: 2.281 kB / 378.9 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Cell): time 0.2184/0.2184, allocations: 4.945 MB / 383.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004312/0.2228, allocations: 1.808 MB / 385.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006378/0.2234, allocations: 15.94 kB / 385.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.2253, allocations: 0.5076 MB / 386.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.2265, allocations: 401.1 kB / 386.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.2277, allocations: 372.4 kB / 387 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.2291, allocations: 1.129 MB / 388.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005176/0.2296, allocations: 211.8 kB / 388.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006501/0.2302, allocations: 426.6 kB / 388.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000627/0.2309, allocations: 423.7 kB / 389.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.231, allocations: 78.75 kB / 389.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009854/0.232, allocations: 391.5 kB / 389.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001157/0.2331, allocations: 1.364 MB / 390.9 MB, free: 9.117 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005511/0.2337, allocations: 0.8566 MB / 391.8 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.2338, allocations: 55.12 kB / 391.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002002/0.234, allocations: 31.59 kB / 391.9 MB, free: 8.5 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: 120 (120) * Number of variables: 120 (120) Notification: Performance of [SIM] Bindings: time 0.003821/0.2378, allocations: 3.585 MB / 395.5 MB, free: 6.016 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004226/0.2383, allocations: 323.3 kB / 395.8 MB, free: 5.805 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001771/0.24, allocations: 1.41 MB / 397.2 MB, free: 4.871 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0006646/0.2407, allocations: 333.2 kB / 397.5 MB, free: 4.676 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.005092/0.2458, allocations: 2.763 MB / 400.3 MB, free: 3.094 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003193/0.2461, allocations: 214 kB / 400.5 MB, free: 2.945 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001467/0.2463, allocations: 120.6 kB / 400.6 MB, free: 2.84 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004161/0.2467, allocations: 263.9 kB / 400.9 MB, free: 2.605 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0003098/0.247, allocations: 172.2 kB / 401 MB, free: 2.531 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005512/0.2475, allocations: 454.2 kB / 401.5 MB, free: 2.219 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001224/0.2488, allocations: 0.8185 MB / 402.3 MB, free: 1.891 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009238/0.2497, allocations: 0.8067 MB / 403.1 MB, free: 1.418 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.003322/0.253, allocations: 0.8922 MB / 404 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001183/0.2542, allocations: 1.236 MB / 405.2 MB, free: 15.85 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 9.281e-05/0.2543, allocations: 37.12 kB / 405.3 MB, free: 15.82 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0002314/0.2545, allocations: 211.2 kB / 405.5 MB, free: 15.64 MB / 318.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) cccvCharger.CV = $START.cccvCharger.CV ($RES_SRT_150); Notification: Performance of [INI] Causalize: time 0.01324/0.2678, allocations: 8.034 MB / 413.5 MB, free: 9.891 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.0007915/0.2685, allocations: 354 kB / 413.9 MB, free: 9.562 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 2.515e-06/0.2685, allocations: 4 kB / 413.9 MB, free: 9.559 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.308e-05/0.2686, allocations: 11.94 kB / 413.9 MB, free: 9.547 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0003949/0.269, allocations: 165.7 kB / 414 MB, free: 9.387 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 4.171e-05/0.269, allocations: 3.938 kB / 414 MB, free: 9.383 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.001448/0.2705, allocations: 0.7286 MB / 414.8 MB, free: 8.652 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.001206/0.2717, allocations: 0.7803 MB / 415.5 MB, free: 7.785 MB / 318.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: ......... 8 * 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: ............................. 3 (3) {cell.cell.displaySOC, cell.displaySOC, energy.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 15 (15) {cccvCharger.CV, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 37 (scalar:37, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 77 (scalar:74, array:2, record:1) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 0.0001302/0.2718, allocations: 43.5 kB / 415.6 MB, free: 7.75 MB / 318.1 MB Notification: Performance of SimCode: time 0.01024/0.282, allocations: 6.106 MB / 421.7 MB, free: 1.742 MB / 318.1 MB Notification: Performance of Templates: time 0.01846/0.3005, allocations: 8.992 MB / 430.7 MB, free: 8.773 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.sim & ./Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Batteries/Examples/CCCV_Cell/CCCV_Cell.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.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: 5.495932042133063]