Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.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.001749/0.001749, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002271/0.002271, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.885/1.885, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.Analog.Examples.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99999,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|bufferCapacitor.v|bufferCapacitor.i",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 47.94 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4861, allocations: 53.38 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.007568/0.4937, allocations: 2.489 MB / 434.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.4955, allocations: 0.6466 MB / 435.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000329/0.4958, allocations: 4 kB / 435.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.4961, allocations: 43.58 kB / 435.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.4964, allocations: 79.33 kB / 435.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.4968, allocations: 95.81 kB / 435.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005498/0.4973, allocations: 358.8 kB / 436 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.4976, allocations: 57.14 kB / 436.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.4978, allocations: 147.5 kB / 436.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.498, allocations: 159.3 kB / 436.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.404e-05/0.4981, allocations: 36 kB / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.619e-05/0.4982, allocations: 32 kB / 436.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.488e-05/0.4983, allocations: 51.83 kB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.4985, allocations: 123.5 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000579/0.4991, allocations: 338.3 kB / 437 MB, free: 2.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.4991, allocations: 0 / 437 MB, free: 2.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4991, allocations: 0 / 437 MB, free: 2.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.4991, allocations: 0 / 437 MB, free: 2.074 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.001414/0.5005, allocations: 0.5711 MB / 437.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.5006, allocations: 12.03 kB / 437.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.5007, allocations: 32.75 kB / 437.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004846/0.5012, allocations: 195.4 kB / 437.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.5013, allocations: 149.5 kB / 437.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.438e-05/0.5014, allocations: 24.38 kB / 437.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006944/0.5021, allocations: 347 kB / 438.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.5021, allocations: 3.938 kB / 438.3 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.5021, allocations: 4 kB / 438.3 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.5021, allocations: 8 kB / 438.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000546/0.5027, allocations: 197.6 kB / 438.5 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.5042, allocations: 0.7227 MB / 439.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005266/0.5047, allocations: 190.6 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.505, allocations: 109.1 kB / 439.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.5051, allocations: 8 kB / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005449/0.5056, allocations: 258.8 kB / 439.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.994e-06/0.5056, allocations: 0 / 439.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001673/0.5073, allocations: 414.1 kB / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.5074, allocations: 110.8 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.5077, allocations: 207.8 kB / 440.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.5077, allocations: 33.7 kB / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.5078, allocations: 152.4 kB / 440.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.194e-05/0.5079, allocations: 71.42 kB / 440.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.5081, allocations: 53.94 kB / 440.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.5083, allocations: 330.8 kB / 441.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.5086, allocations: 151.6 kB / 441.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/0.509, allocations: 225.7 kB / 441.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.5095, allocations: 255 kB / 441.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5095, allocations: 0 / 441.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009433/0.5105, allocations: 458.8 kB / 442.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.563e-05/0.5105, allocations: 67.39 kB / 442.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.5105, allocations: 8.062 kB / 442.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004049/0.511, allocations: 100.8 kB / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.5112, allocations: 35.91 kB / 442.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002962/0.5141, allocations: 1.927 MB / 444.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/0.5147, allocations: 75.83 kB / 444.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.5147, allocations: 8 kB / 444.4 MB, free: 10.14 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.0002181/0.5149, allocations: 137.9 kB / 444.5 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/0.515, allocations: 23.86 kB / 444.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.601e-05/0.5151, allocations: 29.8 kB / 444.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.892e-06/0.5151, allocations: 7.938 kB / 444.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.5151, allocations: 4 kB / 444.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5151, allocations: 0 / 444.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005117/0.5156, allocations: 358.8 kB / 444.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5156, allocations: 0 / 444.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.5157, allocations: 19.98 kB / 445 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003135/0.5161, allocations: 120.7 kB / 445.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.5161, allocations: 0 / 445.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002456/0.5185, allocations: 1.931 MB / 447 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5185, allocations: 0 / 447 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009994/0.5195, allocations: 402.8 kB / 447.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/0.5196, allocations: 35.8 kB / 447.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.5197, allocations: 11.94 kB / 447.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.5199, allocations: 23.97 kB / 447.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.52, allocations: 23.95 kB / 447.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.52, allocations: 8 kB / 447.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.5202, allocations: 149.7 kB / 447.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5202, allocations: 0 / 447.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004996/0.5207, allocations: 95.83 kB / 447.7 MB, free: 6.617 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.0001753/0.5209, allocations: 99.25 kB / 447.8 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.522, allocations: 0.5162 MB / 448.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.522, allocations: 4.062 kB / 448.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000491/0.5225, allocations: 238.5 kB / 448.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.5229, allocations: 62.33 kB / 448.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.5242, allocations: 0.5291 MB / 449.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.5244, allocations: 138.1 kB / 449.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.982e-05/0.5245, allocations: 17.64 kB / 449.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.5245, allocations: 15.44 kB / 449.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5245, allocations: 0 / 449.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of Templates: time 0.01111/0.5356, allocations: 5.095 MB / 454.4 MB, free: 15.86 MB / 366.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 6.7043515630066395]