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.0008107/0.0008107, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003505/0.003505, allocations: 161.8 kB / 24.7 MB, free: 9.414 MB / 18.57 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 0.8291/0.8291, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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 1.072e-06/1.072e-06, allocations: 0 / 325.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.615e-05, allocations: 2.281 kB / 325.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.002554/0.00257, allocations: 2.495 MB / 328.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007593/0.00333, allocations: 0.6505 MB / 329 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.412e-05/0.003424, allocations: 7.938 kB / 329 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.003532, allocations: 35.64 kB / 329 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.003645, allocations: 87.22 kB / 329.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.003858, allocations: 99.78 kB / 329.2 MB, free: 12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.00413, allocations: 366.6 kB / 329.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.004264, allocations: 60.91 kB / 329.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.00442, allocations: 211.5 kB / 329.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.004543, allocations: 115.6 kB / 330 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.004578, allocations: 36 kB / 330 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.297e-05/0.004611, allocations: 32 kB / 330 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.004653, allocations: 55.81 kB / 330.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.916e-05/0.004732, allocations: 107.7 kB / 330.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.004999, allocations: 350.9 kB / 330.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.005002, allocations: 4 kB / 330.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005003, allocations: 0 / 330.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.005007, allocations: 0 / 330.5 MB, free: 10.68 MB / 298.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.0006974/0.005704, allocations: 0.5662 MB / 331.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.005736, allocations: 12.03 kB / 331.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.005794, allocations: 32.75 kB / 331.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.006012, allocations: 193.1 kB / 331.3 MB, free: 9.816 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.17e-05/0.006094, allocations: 157.6 kB / 331.5 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.00613, allocations: 28.31 kB / 331.5 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.006459, allocations: 328.4 kB / 331.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.006468, allocations: 192 / 331.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.006486, allocations: 16.12 kB / 331.9 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.006492, allocations: 4 kB / 331.9 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.006773, allocations: 193.9 kB / 332 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007224/0.007495, allocations: 0.731 MB / 332.8 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.007786, allocations: 182.7 kB / 333 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.007962, allocations: 112.8 kB / 333.1 MB, free: 7.965 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.007975, allocations: 7.938 kB / 333.1 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/0.008218, allocations: 255.3 kB / 333.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.162e-06/0.008219, allocations: 0 / 333.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001015/0.009234, allocations: 414.1 kB / 333.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.009277, allocations: 106.8 kB / 333.8 MB, free: 7.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.009397, allocations: 207.8 kB / 334 MB, free: 6.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.009418, allocations: 33.64 kB / 334.1 MB, free: 6.871 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.009493, allocations: 160.3 kB / 334.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.009533, allocations: 67.47 kB / 334.3 MB, free: 6.645 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.009598, allocations: 49.94 kB / 334.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.142e-05/0.009679, allocations: 338.8 kB / 334.7 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.009846, allocations: 151.6 kB / 334.8 MB, free: 6.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.01003, allocations: 220.9 kB / 335 MB, free: 5.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.01029, allocations: 248 kB / 335.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01029, allocations: 0 / 335.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004578/0.01075, allocations: 454.9 kB / 335.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.01078, allocations: 67.39 kB / 335.8 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01079, allocations: 4.062 kB / 335.8 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/0.01101, allocations: 108.7 kB / 335.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.01111, allocations: 35.97 kB / 335.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.01248, allocations: 1.934 MB / 337.9 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.01269, allocations: 79.75 kB / 337.9 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.0127, allocations: 8 kB / 338 MB, free: 2.758 MB / 298.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.874e-05/0.01279, allocations: 133.8 kB / 338.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.01281, allocations: 23.86 kB / 338.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.01284, allocations: 29.8 kB / 338.1 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.01284, allocations: 0 / 338.1 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.01284, allocations: 8 kB / 338.1 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01285, allocations: 3.938 kB / 338.1 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.01309, allocations: 346.9 kB / 338.5 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.0131, allocations: 4 kB / 338.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.751e-05/0.01317, allocations: 19.98 kB / 338.5 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001573/0.01333, allocations: 116.8 kB / 338.6 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.01334, allocations: 3.984 kB / 338.6 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.01453, allocations: 1.919 MB / 340.5 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01453, allocations: 4.031 kB / 340.5 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007078/0.01524, allocations: 409.6 kB / 340.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.01529, allocations: 35.81 kB / 341 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.0153, allocations: 11.92 kB / 341 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.784e-05/0.01539, allocations: 19.98 kB / 341 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.01546, allocations: 35.88 kB / 341.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.01547, allocations: 8.062 kB / 341.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.878e-05/0.01555, allocations: 153.5 kB / 341.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01555, allocations: 0 / 341.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.01578, allocations: 87.89 kB / 341.3 MB, free: 15.24 MB / 314.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 7.977e-05/0.01586, allocations: 107.2 kB / 341.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005335/0.0164, allocations: 0.5162 MB / 341.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.0164, allocations: 0 / 341.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.01662, allocations: 237.5 kB / 342.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.01682, allocations: 47.08 kB / 342.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006352/0.01745, allocations: 0.5056 MB / 342.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.917e-05/0.01753, allocations: 150.1 kB / 342.8 MB, free: 13.56 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.01757, allocations: 16.5 kB / 342.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01757, allocations: 0 / 342.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of Templates: time 0.003871/0.02144, allocations: 4.158 MB / 347 MB, free: 9.395 MB / 314.7 MB " [Timeout remaining time 660] 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 -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/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_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: 4.810100274160504]