Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.CCCV_CellRC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00154/0.00154, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001686/0.001686, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.426/1.426, allocations: 230.4 MB / 258.1 MB, free: 8.133 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-beta.om/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.CCCV_CellRC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|cell.cell.capacitor.1..v|cell.cell.capacitor.2..v|cell.cell.limIntegrator.y|cell.limIntegrator.y|energy.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.CCCV_CellRC") translateModel(Modelica.Electrical.Batteries.Examples.CCCV_CellRC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|cell.cell.capacitor.1..v|cell.cell.capacitor.2..v|cell.cell.limIntegrator.y|cell.limIntegrator.y|energy.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.CCCV_CellRC") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 71.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2266, allocations: 53.32 MB / 432 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_CellRC): time 0.008018/0.2346, allocations: 6.115 MB / 438.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004115/0.2388, allocations: 2.33 MB / 440.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004021/0.2392, allocations: 19.94 kB / 440.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.2405, allocations: 0.6263 MB / 441.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008636/0.2414, allocations: 457.7 kB / 441.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008617/0.2423, allocations: 412.7 kB / 442 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.2438, allocations: 1.31 MB / 443.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005687/0.2443, allocations: 301.9 kB / 443.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005663/0.2449, allocations: 0.4945 MB / 444.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007618/0.2457, allocations: 0.611 MB / 444.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.2458, allocations: 116 kB / 444.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000323/0.2461, allocations: 176 kB / 445 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005536/0.2467, allocations: 0.6544 MB / 445.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008309/0.2475, allocations: 0.8855 MB / 446.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002763/0.2503, allocations: 2.646 MB / 449.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2503, allocations: 4 kB / 449.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2503, allocations: 0 / 449.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.195e-05/0.2503, allocations: 0 / 449.2 MB, free: 6.16 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004255/0.2546, allocations: 2.441 MB / 451.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.2546, allocations: 12.03 kB / 451.6 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000343/0.255, allocations: 227.5 kB / 451.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002913/0.2579, allocations: 1.689 MB / 453.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.258, allocations: 112.7 kB / 453.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.2582, allocations: 63.95 kB / 453.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.2597, allocations: 0.8181 MB / 454.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.2597, allocations: 3.938 kB / 454.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.951e-05/0.2598, allocations: 28 kB / 454.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.2598, allocations: 23.98 kB / 454.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.2609, allocations: 0.5438 MB / 455.1 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006164/0.2671, allocations: 3.998 MB / 459.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.2685, allocations: 0.508 MB / 459.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000812/0.2693, allocations: 345.1 kB / 460 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.2693, allocations: 4.281 kB / 460 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.2693, allocations: 46.78 kB / 460 MB, free: 10.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.2693, allocations: 0 / 460 MB, free: 10.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002422/0.2718, allocations: 0.953 MB / 461 MB, free: 9.992 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/0.2719, allocations: 261 kB / 461.2 MB, free: 9.676 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00424/0.2762, allocations: 3.156 MB / 464.4 MB, free: 6.484 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.2762, allocations: 33.7 kB / 464.4 MB, free: 6.445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008872/0.2771, allocations: 0.8615 MB / 465.3 MB, free: 5.578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.2772, allocations: 134.9 kB / 465.4 MB, free: 5.445 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.2774, allocations: 94.2 kB / 465.5 MB, free: 5.348 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2776, allocations: 326 kB / 465.8 MB, free: 5.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.2781, allocations: 205 kB / 466 MB, free: 4.824 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006575/0.2787, allocations: 401.9 kB / 466.4 MB, free: 4.359 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.2798, allocations: 0.5204 MB / 466.9 MB, free: 3.789 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2798, allocations: 0 / 466.9 MB, free: 3.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001665/0.2814, allocations: 0.7817 MB / 467.7 MB, free: 2.996 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2814, allocations: 8 kB / 467.7 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2815, allocations: 4 kB / 467.7 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002999/0.2818, allocations: 68.81 kB / 467.8 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005051/0.2823, allocations: 120 kB / 467.9 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.2843, allocations: 1.787 MB / 469.7 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/0.2848, allocations: 79.53 kB / 469.8 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.2849, allocations: 20.09 kB / 469.8 MB, free: 0.7773 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (cccvCharger.CV,energy.local_reset,cell.limIntegrator.local_reset,cell.cell.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0008307/0.2857, allocations: 0.6615 MB / 470.5 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/0.286, allocations: 198.7 kB / 470.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.2863, allocations: 222.6 kB / 470.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2863, allocations: 0 / 470.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2863, allocations: 0 / 470.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009381/0.2872, allocations: 451.6 kB / 471.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.2874, allocations: 8 kB / 471.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000566/0.288, allocations: 63.92 kB / 471.4 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.2881, allocations: 31.95 kB / 471.4 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002166/0.2902, allocations: 0.7277 MB / 472.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001757/0.292, allocations: 1.014 MB / 473.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004355/0.2924, allocations: 191.9 kB / 473.3 MB, free: 13.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00324/0.2957, allocations: 2.263 MB / 475.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of Backend: time 2.5e-07/0.2957, allocations: 0 / 475.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004115/0.2998, allocations: 1.096 MB / 476.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of SimCode: time 0.005918/0.3057, allocations: 4.08 MB / 480.8 MB, free: 5.922 MB / 382.1 MB Notification: Performance of Templates: time 0.03676/0.3425, allocations: 18.79 MB / 499.6 MB, free: 3.27 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.CCCV_CellRC.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.CCCV_CellRC.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.CCCV_CellRC.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.CCCV_CellRC.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.CCCV_CellRC.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.CCCV_CellRC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.CCCV_CellRC.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.CCCV_CellRC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Batteries/Examples/CCCV_CellRC/CCCV_CellRC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.CCCV_CellRC.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.0566351087763906]