Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.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.001564/0.001564, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001739/0.001739, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.Analog.Examples.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99999,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|bufferCapacitor.v|bufferCapacitor.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99999,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|bufferCapacitor.v|bufferCapacitor.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.89 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2677, allocations: 53.41 MB / 432.5 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004248/0.272, allocations: 2.658 MB / 435.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.2734, allocations: 0.6817 MB / 435.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.2735, allocations: 0 / 435.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.2736, allocations: 39.64 kB / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.2738, allocations: 79.28 kB / 435.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.2742, allocations: 95.86 kB / 436 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004543/0.2746, allocations: 366.6 kB / 436.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.2748, allocations: 66.67 kB / 436.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.275, allocations: 139.6 kB / 436.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.2752, allocations: 151.4 kB / 436.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.439e-05/0.2752, allocations: 32 kB / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.176e-05/0.2753, allocations: 28 kB / 436.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.95e-05/0.2754, allocations: 67.7 kB / 436.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.2755, allocations: 155.2 kB / 437 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.276, allocations: 326.4 kB / 437.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.276, allocations: 0 / 437.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.276, allocations: 0 / 437.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.276, allocations: 0 / 437.3 MB, free: 1.875 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001143/0.2771, allocations: 0.5711 MB / 437.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2772, allocations: 8.031 kB / 437.9 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.295e-05/0.2772, allocations: 36.75 kB / 437.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.2776, allocations: 194.8 kB / 438.1 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.2778, allocations: 153.5 kB / 438.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/0.2778, allocations: 20.38 kB / 438.3 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005301/0.2783, allocations: 265.9 kB / 438.5 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2784, allocations: 0 / 438.5 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.965e-05/0.2784, allocations: 8 kB / 438.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.2784, allocations: 11.92 kB / 438.6 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000526/0.2789, allocations: 201.6 kB / 438.8 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.2803, allocations: 0.8236 MB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/0.2808, allocations: 194.6 kB / 439.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.2811, allocations: 104.8 kB / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.2811, allocations: 4 kB / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003995/0.2815, allocations: 193.3 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.532e-06/0.2815, allocations: 0 / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001427/0.283, allocations: 417.2 kB / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/0.2831, allocations: 118.8 kB / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.2833, allocations: 202.8 kB / 440.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.2833, allocations: 33.7 kB / 440.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.2835, allocations: 152.4 kB / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.47e-05/0.2835, allocations: 63.44 kB / 441 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.2836, allocations: 57.92 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2838, allocations: 326.8 kB / 441.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.2841, allocations: 104.2 kB / 441.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.2844, allocations: 144.5 kB / 441.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.2849, allocations: 242.8 kB / 441.9 MB, free: 13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2849, allocations: 0 / 441.9 MB, free: 13 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008709/0.2858, allocations: 403.4 kB / 442.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.348e-05/0.2858, allocations: 63.41 kB / 442.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.2858, allocations: 4 kB / 442.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003868/0.2862, allocations: 112.8 kB / 442.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.2864, allocations: 31.98 kB / 442.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/0.289, allocations: 1.977 MB / 444.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/0.2894, allocations: 63.83 kB / 444.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.2895, allocations: 12.08 kB / 444.5 MB, free: 10.19 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (dcPowerSupply.cp,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,diode.off,dcPowerSupply.cc,dcPowerSupply.cv,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001674/0.2896, allocations: 133.9 kB / 444.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.2897, allocations: 27.8 kB / 444.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/0.2897, allocations: 29.8 kB / 444.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.2897, allocations: 7.828 kB / 444.7 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2897, allocations: 4 kB / 444.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2897, allocations: 0 / 444.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005347/0.2903, allocations: 430.1 kB / 445.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2903, allocations: 0 / 445.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.2904, allocations: 27.97 kB / 445.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002756/0.2907, allocations: 108.8 kB / 445.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.2907, allocations: 12.03 kB / 445.3 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/0.293, allocations: 1.961 MB / 447.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.293, allocations: 0 / 447.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008925/0.2939, allocations: 406.4 kB / 447.7 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.294, allocations: 35.84 kB / 447.7 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.2941, allocations: 8 kB / 447.7 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.2943, allocations: 19.98 kB / 447.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.2944, allocations: 27.94 kB / 447.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.2944, allocations: 8 kB / 447.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.2945, allocations: 144.7 kB / 447.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2945, allocations: 0 / 447.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000456/0.295, allocations: 91.89 kB / 448 MB, free: 6.543 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (bufferCapacitor.v) * Number of discrete variables: 6 ($whenCondition1,dcPowerSupply.cv,dcPowerSupply.cc,diode.off,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001573/0.2952, allocations: 103.2 kB / 448.1 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.2962, allocations: 481.7 kB / 448.6 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2962, allocations: 0 / 448.6 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004906/0.2967, allocations: 238.5 kB / 448.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.2971, allocations: 62.97 kB / 448.9 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.2984, allocations: 0.5521 MB / 449.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.2989, allocations: 0.748 MB / 450.2 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.568e-05/0.2989, allocations: 27.36 kB / 450.2 MB, free: 4.23 MB / 350.1 MB Notification: Performance of SimCode: time 8.81e-07/0.2989, allocations: 0 / 450.2 MB, free: 4.23 MB / 350.1 MB Notification: Performance of Templates: time 0.008493/0.3074, allocations: 4.124 MB / 454.3 MB, free: 128 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupplyWithBuffer/DemoPowerSupplyWithBuffer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.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: 8.618251923006028]