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.001959/0.001959, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002082/0.002082, allocations: 156.8 kB / 24.27 MB, free: 152 kB / 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.544/1.544, allocations: 177 MB / 204.4 MB, free: 5.594 MB / 186.7 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=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.163e-06/1.163e-06, allocations: 0 / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.638e-05, allocations: 6.312 kB / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004446/0.004472, allocations: 2.591 MB / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.005805, allocations: 0.662 MB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.00592, allocations: 4 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.006087, allocations: 43.58 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.006272, allocations: 79.28 kB / 275.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.006568, allocations: 99.78 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004576/0.007026, allocations: 370.6 kB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.007209, allocations: 65.06 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.007506, allocations: 207.6 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.00772, allocations: 119.6 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.979e-05/0.00779, allocations: 36 kB / 276.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.432e-05/0.007854, allocations: 32 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.558e-05/0.00793, allocations: 55.81 kB / 276.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.008081, allocations: 107.7 kB / 276.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004826/0.008564, allocations: 358.9 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.008567, allocations: 0 / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.008568, allocations: 0 / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.008574, allocations: 0 / 277 MB, free: 12.95 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.001226/0.0098, allocations: 0.6746 MB / 277.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.009841, allocations: 15.98 kB / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.009965, allocations: 52.75 kB / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.01032, allocations: 192.2 kB / 277.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.01046, allocations: 153.6 kB / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.847e-05/0.01052, allocations: 28.36 kB / 278.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005669/0.01109, allocations: 346 kB / 278.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.0111, allocations: 4.188 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.01114, allocations: 12.12 kB / 278.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.01115, allocations: 4 kB / 278.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004785/0.01163, allocations: 177.9 kB / 278.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.01306, allocations: 0.862 MB / 279.5 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/0.01354, allocations: 191.2 kB / 279.7 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.01383, allocations: 111.9 kB / 279.8 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.01385, allocations: 4 kB / 279.8 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006703/0.01453, allocations: 277 kB / 280.1 MB, free: 9.625 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.313e-06/0.01453, allocations: 0 / 280.1 MB, free: 9.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.001434/0.01596, allocations: 416.3 kB / 280.5 MB, free: 9.211 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.411e-05/0.01605, allocations: 106.8 kB / 280.6 MB, free: 9.082 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.01634, allocations: 282.7 kB / 280.9 MB, free: 8.785 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.01638, allocations: 25.7 kB / 280.9 MB, free: 8.754 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.01655, allocations: 211.1 kB / 281.1 MB, free: 8.543 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.905e-05/0.01663, allocations: 75.42 kB / 281.2 MB, free: 8.469 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.01676, allocations: 59.59 kB / 281.2 MB, free: 8.402 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002928/0.01705, allocations: 0.5079 MB / 281.7 MB, free: 7.883 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.01735, allocations: 155.6 kB / 281.9 MB, free: 7.719 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.0177, allocations: 236.2 kB / 282.1 MB, free: 7.453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.01817, allocations: 243.3 kB / 282.4 MB, free: 7.191 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01817, allocations: 0 / 282.4 MB, free: 7.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008759/0.01905, allocations: 465.8 kB / 282.8 MB, free: 6.703 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.092e-05/0.01912, allocations: 67.39 kB / 282.9 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01913, allocations: 4.094 kB / 282.9 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003745/0.0195, allocations: 119.5 kB / 283 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.01968, allocations: 27.98 kB / 283 MB, free: 6.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003075/0.02276, allocations: 2.575 MB / 285.6 MB, free: 3.781 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.02317, allocations: 51.78 kB / 285.7 MB, free: 3.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.0232, allocations: 12.03 kB / 285.7 MB, free: 3.719 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 0.0002114/0.02341, allocations: 188.5 kB / 285.9 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.02347, allocations: 31.8 kB / 285.9 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.956e-05/0.02354, allocations: 29.8 kB / 285.9 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.02354, allocations: 0 / 285.9 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.02354, allocations: 0 / 285.9 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.02355, allocations: 7.938 kB / 285.9 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005554/0.02411, allocations: 429 kB / 286.3 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.02411, allocations: 32 / 286.3 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.02425, allocations: 27.98 kB / 286.4 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002935/0.02454, allocations: 115.5 kB / 286.5 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.02456, allocations: 0 / 286.5 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00313/0.02769, allocations: 2.572 MB / 289.1 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.02769, allocations: 96 / 289.1 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009572/0.02865, allocations: 410.8 kB / 289.5 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.02875, allocations: 39.78 kB / 289.5 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.02879, allocations: 12.05 kB / 289.5 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.02899, allocations: 15.98 kB / 289.5 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.02911, allocations: 31.89 kB / 289.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.02913, allocations: 8 kB / 289.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001943/0.02933, allocations: 193.4 kB / 289.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02933, allocations: 0 / 289.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004854/0.02981, allocations: 91.89 kB / 289.8 MB, free: 15.34 MB / 282.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.0001766/0.02999, allocations: 111.2 kB / 289.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.03105, allocations: 0.5924 MB / 290.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.03105, allocations: 4 kB / 290.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004942/0.03154, allocations: 305.2 kB / 290.8 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.03191, allocations: 56.08 kB / 290.9 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.03309, allocations: 0.5026 MB / 291.4 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.03326, allocations: 138.2 kB / 291.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.336e-05/0.03334, allocations: 21.62 kB / 291.6 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.0334, allocations: 16.5 kB / 291.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of SimCode: time 8.02e-07/0.0334, allocations: 0 / 291.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of Templates: time 0.01155/0.04495, allocations: 4.9 MB / 296.5 MB, free: 8.621 MB / 282.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 -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","/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.458213714067824]