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.001389/0.001389, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.00157/0.00157, allocations: 161.4 kB / 24.91 MB, free: 8.719 MB / 18.57 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.034/1.034, allocations: 177 MB / 205.2 MB, free: 5.027 MB / 186.7 MB " [Timeout remaining time 179] 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=100000,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=100000,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 1.222e-06/1.222e-06, allocations: 0 / 273.4 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.153e-05, allocations: 5.266 kB / 273.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.002835/0.002857, allocations: 2.661 MB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.00393, allocations: 0.6815 MB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.004047, allocations: 4 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.00417, allocations: 35.58 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.0043, allocations: 71.3 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.004558, allocations: 103.8 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.004872, allocations: 374.6 kB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.005007, allocations: 67.02 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.005212, allocations: 211.6 kB / 277.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.005352, allocations: 111.7 kB / 277.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.00539, allocations: 31.94 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.064e-05/0.005421, allocations: 32 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.005464, allocations: 59.8 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.877e-05/0.005543, allocations: 111.7 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.005776, allocations: 243.1 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.00578, allocations: 4 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005781, allocations: 4 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.005785, allocations: 0 / 278.2 MB, free: 12.17 MB / 266.7 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.0006235/0.006409, allocations: 0.5385 MB / 278.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.006443, allocations: 11.98 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.006507, allocations: 44.91 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.0067, allocations: 169.4 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.964e-05/0.00678, allocations: 153.6 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.445e-05/0.006814, allocations: 28.36 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.007082, allocations: 277 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.007093, allocations: 192 / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.007113, allocations: 16.12 kB / 279.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.007122, allocations: 8 kB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.007236, allocations: 69.45 kB / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006504/0.007886, allocations: 0.563 MB / 280.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.008035, allocations: 114.5 kB / 280.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.44e-05/0.008119, allocations: 60.83 kB / 280.3 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.008132, allocations: 4 kB / 280.3 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.008307, allocations: 207 kB / 280.5 MB, free: 9.727 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.008309, allocations: 0 / 280.5 MB, free: 9.727 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004964/0.008805, allocations: 254.7 kB / 280.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.008854, allocations: 114.7 kB / 280.8 MB, free: 9.332 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.00896, allocations: 195.4 kB / 281 MB, free: 9.125 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.008982, allocations: 33.7 kB / 281.1 MB, free: 9.086 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.00904, allocations: 140.4 kB / 281.2 MB, free: 8.945 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.00908, allocations: 71.34 kB / 281.3 MB, free: 8.875 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/0.009147, allocations: 61.86 kB / 281.3 MB, free: 8.809 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.699e-05/0.009224, allocations: 330.8 kB / 281.6 MB, free: 8.477 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.009298, allocations: 95.64 kB / 281.7 MB, free: 8.371 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.9e-05/0.009387, allocations: 153 kB / 281.9 MB, free: 8.191 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.009509, allocations: 154.8 kB / 282 MB, free: 8.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.009511, allocations: 0 / 282 MB, free: 8.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002825/0.009794, allocations: 319.2 kB / 282.3 MB, free: 7.676 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.009831, allocations: 63.34 kB / 282.4 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.009836, allocations: 8.094 kB / 282.4 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.01002, allocations: 84.67 kB / 282.5 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.01013, allocations: 35.97 kB / 282.5 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.01128, allocations: 1.602 MB / 284.1 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.01145, allocations: 51.75 kB / 284.2 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.01146, allocations: 12.2 kB / 284.2 MB, free: 5.723 MB / 266.7 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 8.602e-05/0.01155, allocations: 129.8 kB / 284.3 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.01157, allocations: 19.98 kB / 284.3 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.0116, allocations: 25.8 kB / 284.4 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.0116, allocations: 4 kB / 284.4 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.0116, allocations: 0 / 284.4 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.01161, allocations: 3.938 kB / 284.4 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.01185, allocations: 263.5 kB / 284.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.01185, allocations: 4.031 kB / 284.6 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.822e-05/0.01194, allocations: 27.98 kB / 284.7 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001325/0.01207, allocations: 76.8 kB / 284.7 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.01208, allocations: 4 kB / 284.7 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009788/0.01306, allocations: 1.606 MB / 286.4 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01306, allocations: 0 / 286.4 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.01328, allocations: 211.7 kB / 286.6 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.01333, allocations: 27.8 kB / 286.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.01334, allocations: 4 kB / 286.6 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.498e-05/0.01343, allocations: 24.03 kB / 286.6 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.0135, allocations: 39.83 kB / 286.7 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.01351, allocations: 0 / 286.7 MB, free: 3.113 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.855e-05/0.01356, allocations: 67.02 kB / 286.7 MB, free: 3.047 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01356, allocations: 0 / 286.7 MB, free: 3.047 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002584/0.01382, allocations: 87.89 kB / 286.8 MB, free: 2.961 MB / 266.7 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.0001036/0.01392, allocations: 84.42 kB / 286.9 MB, free: 2.871 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003791/0.0143, allocations: 439.2 kB / 287.3 MB, free: 2.398 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.0143, allocations: 0 / 287.3 MB, free: 2.398 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.01446, allocations: 199.2 kB / 287.5 MB, free: 2.188 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.01464, allocations: 47.75 kB / 287.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007993/0.01544, allocations: 0.5014 MB / 288.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.839e-05/0.01548, allocations: 84.31 kB / 288.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.811e-05/0.01554, allocations: 17.64 kB / 288.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.01568, allocations: 99.34 kB / 288.3 MB, free: 1.395 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01568, allocations: 0 / 288.3 MB, free: 1.395 MB / 266.7 MB Notification: Performance of Templates: time 0.09865/0.1143, allocations: 5.075 MB / 293.3 MB, free: 25.13 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.269959331024438]