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.0009359/0.0009359, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.000971/0.000971, allocations: 170 kB / 24.91 MB, free: 9.148 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 1.047/1.047, allocations: 177.1 MB / 205.3 MB, free: 5.508 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=100000,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=100000,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.513e-06/1.513e-06, allocations: 0 / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.159e-05, allocations: 2.312 kB / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.0031/0.003122, allocations: 2.676 MB / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.004267, allocations: 0.6738 MB / 276.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.004381, allocations: 7.938 kB / 276.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.004497, allocations: 39.58 kB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.00463, allocations: 75.28 kB / 277 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.004887, allocations: 103.8 kB / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003074/0.005195, allocations: 370.6 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.005321, allocations: 71.02 kB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.005529, allocations: 207.5 kB / 277.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.005673, allocations: 115.7 kB / 277.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.034e-05/0.005713, allocations: 28 kB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.109e-05/0.005744, allocations: 32 kB / 277.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.005793, allocations: 63.75 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.108e-05/0.005874, allocations: 107.7 kB / 278 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.006101, allocations: 243.2 kB / 278.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.006103, allocations: 4 kB / 278.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.006104, allocations: 0 / 278.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.006108, allocations: 0 / 278.3 MB, free: 12.45 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.0005969/0.006705, allocations: 0.5385 MB / 278.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.006735, allocations: 8.031 kB / 278.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.211e-05/0.006798, allocations: 52.89 kB / 278.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.006987, allocations: 165.3 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.77e-05/0.007064, allocations: 153.6 kB / 279.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.007101, allocations: 28.38 kB / 279.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.007345, allocations: 281.1 kB / 279.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.007353, allocations: 192 / 279.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.007368, allocations: 8.125 kB / 279.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.007375, allocations: 8 kB / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.007483, allocations: 69.41 kB / 279.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006345/0.008117, allocations: 0.5708 MB / 280.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.008258, allocations: 106.5 kB / 280.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.146e-05/0.008339, allocations: 52.84 kB / 280.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.008351, allocations: 8 kB / 280.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.008517, allocations: 217.9 kB / 280.5 MB, free: 10 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.462e-06/0.008518, allocations: 0 / 280.5 MB, free: 10 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004793/0.008997, allocations: 249.6 kB / 280.8 MB, free: 9.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.00904, allocations: 114.8 kB / 280.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.009151, allocations: 191.4 kB / 281.1 MB, free: 9.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.009173, allocations: 33.7 kB / 281.1 MB, free: 9.371 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.009227, allocations: 140.4 kB / 281.2 MB, free: 9.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.009265, allocations: 75.39 kB / 281.3 MB, free: 9.156 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.696e-05/0.009332, allocations: 61.91 kB / 281.4 MB, free: 9.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.021e-05/0.009412, allocations: 334.8 kB / 281.7 MB, free: 8.754 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-05/0.009482, allocations: 83.62 kB / 281.8 MB, free: 8.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.153e-05/0.009574, allocations: 156.9 kB / 281.9 MB, free: 8.477 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.009698, allocations: 163 kB / 282.1 MB, free: 8.297 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.0097, allocations: 0 / 282.1 MB, free: 8.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002772/0.009978, allocations: 311 kB / 282.4 MB, free: 7.961 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002951/0.01027, allocations: 75.33 kB / 282.5 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.01028, allocations: 0 / 282.5 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/0.01045, allocations: 76.8 kB / 282.5 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.01057, allocations: 39.91 kB / 282.6 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.0117, allocations: 1.602 MB / 284.2 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.01188, allocations: 63.77 kB / 284.3 MB, free: 6.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.01189, allocations: 12 kB / 284.3 MB, free: 5.996 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.295e-05/0.01198, allocations: 123.7 kB / 284.4 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.01201, allocations: 19.92 kB / 284.4 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.01204, allocations: 29.8 kB / 284.4 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01204, allocations: 7.984 kB / 284.4 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.01204, allocations: 0 / 284.4 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.01205, allocations: 3.938 kB / 284.4 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.01227, allocations: 263.6 kB / 284.7 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01227, allocations: 0 / 284.7 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.906e-05/0.01236, allocations: 27.97 kB / 284.7 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/0.0125, allocations: 76.73 kB / 284.8 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.01251, allocations: 12.03 kB / 284.8 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009352/0.01344, allocations: 1.591 MB / 286.4 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01345, allocations: 0 / 286.4 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.01365, allocations: 210.5 kB / 286.6 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.0137, allocations: 27.78 kB / 286.6 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.01372, allocations: 8.062 kB / 286.6 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.01379, allocations: 19.97 kB / 286.7 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.01386, allocations: 31.94 kB / 286.7 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.01387, allocations: 8 kB / 286.7 MB, free: 3.398 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.176e-05/0.01391, allocations: 59.03 kB / 286.8 MB, free: 3.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01391, allocations: 0 / 286.8 MB, free: 3.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002366/0.01415, allocations: 87.89 kB / 286.8 MB, free: 3.254 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 9.367e-05/0.01424, allocations: 96.28 kB / 286.9 MB, free: 3.152 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003582/0.0146, allocations: 429.1 kB / 287.4 MB, free: 2.684 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.0146, allocations: 0 / 287.4 MB, free: 2.684 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.01476, allocations: 203.3 kB / 287.6 MB, free: 2.469 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.01492, allocations: 52.08 kB / 287.6 MB, free: 2.418 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007475/0.01567, allocations: 0.4981 MB / 288.1 MB, free: 1.891 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.973e-05/0.01572, allocations: 84.31 kB / 288.2 MB, free: 1.789 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.899e-05/0.01578, allocations: 13.66 kB / 288.2 MB, free: 1.773 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.01591, allocations: 103.3 kB / 288.3 MB, free: 1.672 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01591, allocations: 0 / 288.3 MB, free: 1.672 MB / 266.7 MB Notification: Performance of Templates: time 0.006816/0.02273, allocations: 5.097 MB / 293.4 MB, free: 12.66 MB / 282.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe 2>&1) [Timeout 240] 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","",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.3327451976947486]