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.001409/0.001409, allocations: 84.88 kB / 20.68 MB, free: 1.039 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.002589/0.002589, allocations: 157.8 kB / 23.95 MB, free: 4.168 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.665/1.665, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.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 2.244e-06/2.244e-06, allocations: 0 / 325 MB, free: 480 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.539e-05/3.763e-05, allocations: 2.281 kB / 325 MB, free: 476 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004494/0.004532, allocations: 2.5 MB / 327.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.006188, allocations: 0.6438 MB / 328.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.006363, allocations: 3.781 kB / 328.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.006549, allocations: 41.72 kB / 328.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.00676, allocations: 78.47 kB / 328.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.007123, allocations: 103.7 kB / 328.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005446/0.007668, allocations: 376.9 kB / 328.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.007861, allocations: 59.53 kB / 328.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.008174, allocations: 206.1 kB / 329 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.008422, allocations: 114.4 kB / 329.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.141e-05/0.008494, allocations: 30.5 kB / 329.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.684e-05/0.008571, allocations: 30.94 kB / 329.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.008694, allocations: 64.2 kB / 329.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.008905, allocations: 110.4 kB / 329.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005694/0.009475, allocations: 343.6 kB / 329.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.00948, allocations: 7.938 kB / 329.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.009481, allocations: 0 / 329.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.009488, allocations: 0 / 329.7 MB, free: 13.61 MB / 302.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.001357/0.01085, allocations: 0.5644 MB / 330.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.0109, allocations: 16.64 kB / 330.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.01102, allocations: 47.22 kB / 330.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.01145, allocations: 194.8 kB / 330.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.01163, allocations: 155.6 kB / 330.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/0.0117, allocations: 28.56 kB / 330.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006449/0.01234, allocations: 326 kB / 331 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.01235, allocations: 192 / 331 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.01239, allocations: 15.69 kB / 331 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.0124, allocations: 7.406 kB / 331 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005662/0.01297, allocations: 198.8 kB / 331.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.01438, allocations: 0.7164 MB / 332 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005591/0.01493, allocations: 192.8 kB / 332.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.01529, allocations: 115.5 kB / 332.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.01531, allocations: 2.188 kB / 332.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004908/0.0158, allocations: 254.3 kB / 332.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/0.0158, allocations: 3.938 kB / 332.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001609/0.01741, allocations: 417.9 kB / 332.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.952e-05/0.0175, allocations: 115.2 kB / 333 MB, free: 11.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.01774, allocations: 197.4 kB / 333.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.01779, allocations: 33.2 kB / 333.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.01793, allocations: 161.6 kB / 333.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.034e-05/0.018, allocations: 59.53 kB / 333.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.01812, allocations: 55.78 kB / 333.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.0183, allocations: 332.3 kB / 333.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.01865, allocations: 157.3 kB / 334 MB, free: 10.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.01902, allocations: 215.5 kB / 334.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005536/0.01958, allocations: 245.2 kB / 334.5 MB, free: 9.816 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.01958, allocations: 5.656 kB / 334.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009583/0.02054, allocations: 456.4 kB / 334.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.495e-05/0.02062, allocations: 67.14 kB / 335 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.02062, allocations: 0.9375 kB / 335 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004213/0.02104, allocations: 112.2 kB / 335.1 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.02126, allocations: 39.62 kB / 335.1 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.02394, allocations: 1.921 MB / 337 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000523/0.02447, allocations: 80.52 kB / 337.1 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.0245, allocations: 11.59 kB / 337.1 MB, free: 7.59 MB / 302.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.0002088/0.02471, allocations: 142.9 kB / 337.3 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.02475, allocations: 22.39 kB / 337.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.512e-05/0.02481, allocations: 25.98 kB / 337.3 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.02482, allocations: 3.094 kB / 337.3 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.02482, allocations: 1.438 kB / 337.3 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.02483, allocations: 3.938 kB / 337.3 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.02534, allocations: 348.8 kB / 337.7 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02535, allocations: 5.344 kB / 337.7 MB, free: 7.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.02551, allocations: 26.73 kB / 337.7 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002991/0.02581, allocations: 114.3 kB / 337.8 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.02583, allocations: 1.188 kB / 337.8 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002504/0.02833, allocations: 1.916 MB / 339.7 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.361e-06/0.02834, allocations: 4.891 kB / 339.7 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009873/0.02933, allocations: 399.8 kB / 340.1 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.301e-05/0.02942, allocations: 44.33 kB / 340.2 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.02945, allocations: 2.75 kB / 340.2 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.02968, allocations: 24.84 kB / 340.2 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.02979, allocations: 36.11 kB / 340.2 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.02981, allocations: 5.188 kB / 340.2 MB, free: 4.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001531/0.02996, allocations: 144.1 kB / 340.4 MB, free: 4.875 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02997, allocations: 0 / 340.4 MB, free: 4.875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000487/0.03045, allocations: 93.2 kB / 340.5 MB, free: 4.855 MB / 302.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.0001604/0.03061, allocations: 109.6 kB / 340.6 MB, free: 4.758 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.03172, allocations: 0.5197 MB / 341.1 MB, free: 4.254 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.03172, allocations: 4 kB / 341.1 MB, free: 4.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004982/0.03222, allocations: 238.7 kB / 341.3 MB, free: 4.004 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.03261, allocations: 46.83 kB / 341.4 MB, free: 3.961 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.0339, allocations: 499.1 kB / 341.9 MB, free: 3.445 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.03407, allocations: 142.2 kB / 342 MB, free: 3.281 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.572e-05/0.03414, allocations: 9.641 kB / 342 MB, free: 3.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.633e-05/0.03421, allocations: 24.48 kB / 342 MB, free: 3.246 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.03421, allocations: 0 / 342 MB, free: 3.246 MB / 302.1 MB Notification: Performance of Templates: time 0.01098/0.04519, allocations: 4.778 MB / 346.8 MB, free: 14.53 MB / 318.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.671061493456364]