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.001357/0.001357, allocations: 109 kB / 21.23 MB, free: 0.5117 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.001703/0.001703, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.484/1.484, allocations: 230.3 MB / 258 MB, free: 8.438 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.001992/0.001992, allocations: 63.89 kB / 378.8 MB, free: 2.836 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.291, allocations: 53.36 MB / 432.2 MB, free: 7.133 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004098/0.2951, allocations: 2.658 MB / 434.8 MB, free: 4.465 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00135/0.2964, allocations: 0.6817 MB / 435.5 MB, free: 3.777 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.2966, allocations: 4 kB / 435.5 MB, free: 3.773 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.2967, allocations: 39.58 kB / 435.5 MB, free: 3.734 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.2969, allocations: 79.33 kB / 435.6 MB, free: 3.656 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.2972, allocations: 91.81 kB / 435.7 MB, free: 3.566 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004837/0.2977, allocations: 358.8 kB / 436.1 MB, free: 3.215 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.2979, allocations: 68.8 kB / 436.1 MB, free: 3.145 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.2981, allocations: 143.5 kB / 436.3 MB, free: 3.004 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.2984, allocations: 159.3 kB / 436.4 MB, free: 2.848 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.763e-05/0.2984, allocations: 32 kB / 436.5 MB, free: 2.816 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.716e-05/0.2985, allocations: 28 kB / 436.5 MB, free: 2.789 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.752e-05/0.2986, allocations: 59.77 kB / 436.5 MB, free: 2.73 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.00018/0.2988, allocations: 147.3 kB / 436.7 MB, free: 2.586 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.2993, allocations: 324.7 kB / 437 MB, free: 2.27 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2993, allocations: 0 / 437 MB, free: 2.27 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.033e-06/0.2993, allocations: 0 / 437 MB, free: 2.27 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.885e-06/0.2993, allocations: 0 / 437 MB, free: 2.27 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.001297/0.3006, allocations: 0.575 MB / 437.6 MB, free: 1.652 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.3006, allocations: 8.031 kB / 437.6 MB, free: 1.645 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.3007, allocations: 40.69 kB / 437.6 MB, free: 1.605 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.3012, allocations: 198.7 kB / 437.8 MB, free: 1.387 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.3014, allocations: 102.1 kB / 437.9 MB, free: 1.27 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.3014, allocations: 20.38 kB / 437.9 MB, free: 1.25 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/0.302, allocations: 257.9 kB / 438.2 MB, free: 0.9883 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.302, allocations: 7.938 kB / 438.2 MB, free: 0.9805 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.302, allocations: 4 kB / 438.2 MB, free: 0.9766 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.302, allocations: 4 kB / 438.2 MB, free: 0.9727 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005413/0.3026, allocations: 209.6 kB / 438.4 MB, free: 0.7656 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.304, allocations: 0.8235 MB / 439.2 MB, free: 15.88 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000546/0.3045, allocations: 194.6 kB / 439.4 MB, free: 15.68 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/0.3049, allocations: 108.8 kB / 439.5 MB, free: 15.57 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.3049, allocations: 4 kB / 439.5 MB, free: 15.57 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004285/0.3053, allocations: 177.4 kB / 439.7 MB, free: 15.38 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.3053, allocations: 0 / 439.7 MB, free: 15.38 MB / 350.1 MB
Notification: Performance of matching and sorting (n=21): time 0.001529/0.3069, allocations: 421.2 kB / 440.1 MB, free: 14.96 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.815e-05/0.307, allocations: 114.8 kB / 440.2 MB, free: 14.82 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.3072, allocations: 206.8 kB / 440.4 MB, free: 14.61 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.3072, allocations: 33.7 kB / 440.5 MB, free: 14.57 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.3073, allocations: 148.4 kB / 440.6 MB, free: 14.43 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/0.3074, allocations: 75.45 kB / 440.7 MB, free: 14.35 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.3075, allocations: 57.92 kB / 440.7 MB, free: 14.29 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001566/0.3077, allocations: 330.8 kB / 441.1 MB, free: 13.96 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.308, allocations: 100.2 kB / 441.2 MB, free: 13.86 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.3083, allocations: 148.6 kB / 441.3 MB, free: 13.7 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.3088, allocations: 230.9 kB / 441.5 MB, free: 13.46 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3088, allocations: 0 / 441.5 MB, free: 13.46 MB / 350.1 MB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.000883/0.3097, allocations: 411.5 kB / 441.9 MB, free: 13.04 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.948e-05/0.3098, allocations: 67.39 kB / 442 MB, free: 12.96 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3098, allocations: 4 kB / 442 MB, free: 12.95 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003585/0.3101, allocations: 100.8 kB / 442.1 MB, free: 12.85 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.3103, allocations: 35.97 kB / 442.1 MB, free: 12.82 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/0.3129, allocations: 1.987 MB / 444.1 MB, free: 10.71 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.3134, allocations: 67.89 kB / 444.2 MB, free: 10.65 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.3135, allocations: 15.98 kB / 444.2 MB, free: 10.63 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.0001669/0.3136, allocations: 133.8 kB / 444.3 MB, free: 10.49 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.3137, allocations: 27.8 kB / 444.4 MB, free: 10.46 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.505e-05/0.3137, allocations: 29.8 kB / 444.4 MB, free: 10.44 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3137, allocations: 8 kB / 444.4 MB, free: 10.43 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.3137, allocations: 0 / 444.4 MB, free: 10.43 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3137, allocations: 0 / 444.4 MB, free: 10.43 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/0.3143, allocations: 422.2 kB / 444.8 MB, free: 9.965 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3143, allocations: 0 / 444.8 MB, free: 9.965 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.3144, allocations: 27.97 kB / 444.8 MB, free: 9.938 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002654/0.3147, allocations: 104.8 kB / 444.9 MB, free: 9.832 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.3147, allocations: 8 kB / 445 MB, free: 9.824 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/0.3171, allocations: 1.969 MB / 446.9 MB, free: 7.742 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3171, allocations: 96 / 446.9 MB, free: 7.742 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009679/0.318, allocations: 410.4 kB / 447.3 MB, free: 7.316 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.434e-05/0.3181, allocations: 31.86 kB / 447.4 MB, free: 7.285 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.3181, allocations: 8 kB / 447.4 MB, free: 7.277 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.3184, allocations: 24.03 kB / 447.4 MB, free: 7.254 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.264e-05/0.3185, allocations: 31.95 kB / 447.4 MB, free: 7.223 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.3185, allocations: 7.984 kB / 447.4 MB, free: 7.215 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001424/0.3186, allocations: 144.6 kB / 447.6 MB, free: 7.074 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3186, allocations: 0 / 447.6 MB, free: 7.074 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004096/0.319, allocations: 91.89 kB / 447.7 MB, free: 6.984 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.0001351/0.3192, allocations: 107.2 kB / 447.8 MB, free: 6.871 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001007/0.3202, allocations: 477.1 kB / 448.2 MB, free: 6.367 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3202, allocations: 0 / 448.2 MB, free: 6.367 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004833/0.3207, allocations: 246.6 kB / 448.5 MB, free: 6.113 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.321, allocations: 43.92 kB / 448.5 MB, free: 6.07 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.3221, allocations: 0.5297 MB / 449 MB, free: 5.512 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.3225, allocations: 0.748 MB / 449.8 MB, free: 4.738 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 7.777e-05/0.3226, allocations: 22.03 kB / 449.8 MB, free: 4.719 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.3226, allocations: 19.38 kB / 449.8 MB, free: 4.699 MB / 350.1 MB
Notification: Performance of SimCode: time 4.01e-07/0.3226, allocations: 0 / 449.8 MB, free: 4.699 MB / 350.1 MB
Notification: Performance of Templates: time 0.009942/0.3326, allocations: 5.021 MB / 454.8 MB, free: 15.72 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupplyWithBuffer/DemoPowerSupplyWithBuffer.csv","/var/lib/jenkins/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: 5.507297205738723]