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.001178/0.001178, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001711/0.002889, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001127/0.001127, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001607/0.002733, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.056/1.056, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08219/1.138, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.603e-06/1.603e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.035e-05, allocations: 2.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.003884/0.003904, allocations: 2.684 MB / 247.4 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.005091, allocations: 0.6931 MB / 248.1 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.005214, allocations: 4 kB / 248.1 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.005318, allocations: 27.66 kB / 248.1 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.005496, allocations: 95.2 kB / 248.2 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.005777, allocations: 95.78 kB / 248.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004605/0.006238, allocations: 370.5 kB / 248.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.0064, allocations: 63.09 kB / 248.7 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003086/0.006708, allocations: 224.3 kB / 249 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.006912, allocations: 127.6 kB / 249.1 MB, free: 9.824 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.023e-05/0.006972, allocations: 28 kB / 249.1 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.238e-05/0.007025, allocations: 32 kB / 249.1 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.00708, allocations: 47.81 kB / 249.2 MB, free: 9.719 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.007181, allocations: 83.88 kB / 249.3 MB, free: 9.637 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.007509, allocations: 211.2 kB / 249.5 MB, free: 9.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.336e-05/0.007523, allocations: 0 / 249.5 MB, free: 9.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.007524, allocations: 0 / 249.5 MB, free: 9.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.007535, allocations: 0 / 249.5 MB, free: 9.43 MB / 250.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.0009635/0.008499, allocations: 0.6045 MB / 250.1 MB, free: 8.789 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.008535, allocations: 8.031 kB / 250.1 MB, free: 8.781 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.177e-05/0.008627, allocations: 40.91 kB / 250.1 MB, free: 8.742 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.008877, allocations: 165.4 kB / 250.3 MB, free: 8.555 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.008991, allocations: 157.6 kB / 250.4 MB, free: 8.371 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-05/0.009041, allocations: 20.38 kB / 250.5 MB, free: 8.352 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.009385, allocations: 277.1 kB / 250.7 MB, free: 8.047 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.009397, allocations: 4.172 kB / 250.7 MB, free: 8.043 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.00942, allocations: 16.12 kB / 250.8 MB, free: 8.027 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.009429, allocations: 8 kB / 250.8 MB, free: 8.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.009586, allocations: 73.41 kB / 250.8 MB, free: 7.949 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009198/0.01051, allocations: 0.563 MB / 251.4 MB, free: 7.352 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.01072, allocations: 114.5 kB / 251.5 MB, free: 7.23 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.01085, allocations: 56.84 kB / 251.6 MB, free: 7.172 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.01087, allocations: 11.92 kB / 251.6 MB, free: 7.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.01111, allocations: 203 kB / 251.8 MB, free: 6.922 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.01111, allocations: 4 kB / 251.8 MB, free: 6.918 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007212/0.01184, allocations: 242.7 kB / 252 MB, free: 6.672 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.01188, allocations: 85.05 kB / 252.1 MB, free: 6.57 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.01204, allocations: 191.5 kB / 252.3 MB, free: 6.367 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.01207, allocations: 33.7 kB / 252.3 MB, free: 6.328 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.56e-05/0.01215, allocations: 148.4 kB / 252.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.01222, allocations: 75.33 kB / 252.5 MB, free: 6.105 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.405e-05/0.01231, allocations: 49.92 kB / 252.6 MB, free: 6.051 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.01242, allocations: 338.8 kB / 252.9 MB, free: 5.711 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.01253, allocations: 87.62 kB / 253 MB, free: 5.613 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.01267, allocations: 153 kB / 253.2 MB, free: 5.434 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.01286, allocations: 154.8 kB / 253.3 MB, free: 5.262 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01286, allocations: 3.938 kB / 253.3 MB, free: 5.258 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004425/0.01331, allocations: 331.2 kB / 253.6 MB, free: 4.902 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.558e-05/0.01336, allocations: 59.41 kB / 253.7 MB, free: 4.832 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.01337, allocations: 4 kB / 253.7 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002429/0.01361, allocations: 80.84 kB / 253.8 MB, free: 4.746 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.0138, allocations: 43.91 kB / 253.8 MB, free: 4.703 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/0.01551, allocations: 1.606 MB / 255.4 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.01579, allocations: 51.89 kB / 255.5 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.01581, allocations: 8 kB / 255.5 MB, free: 2.945 MB / 250.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.0001247/0.01594, allocations: 133.7 kB / 255.6 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.01598, allocations: 23.97 kB / 255.6 MB, free: 2.781 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.01602, allocations: 25.8 kB / 255.7 MB, free: 2.762 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.403e-06/0.01602, allocations: 11.94 kB / 255.7 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.01603, allocations: 0 / 255.7 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.01603, allocations: 0 / 255.7 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/0.01638, allocations: 259.6 kB / 255.9 MB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-06/0.01639, allocations: 0 / 255.9 MB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.01653, allocations: 27.92 kB / 256 MB, free: 2.441 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.0166, allocations: 35.72 kB / 256 MB, free: 2.406 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002179/0.01681, allocations: 88.81 kB / 256.1 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.01683, allocations: 3.938 kB / 256.1 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.01836, allocations: 1.591 MB / 257.7 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.01837, allocations: 7.969 kB / 257.7 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.01872, allocations: 201.7 kB / 257.9 MB, free: 420 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.01875, allocations: 8 kB / 257.9 MB, free: 412 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.0189, allocations: 23.97 kB / 257.9 MB, free: 388 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-05/0.01899, allocations: 27.95 kB / 257.9 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.019, allocations: 4 kB / 257.9 MB, free: 356 kB / 250.7 MB Notification: Performance of sorting global known variables: time 7.299e-05/0.01907, allocations: 63.02 kB / 258 MB, free: 292 kB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01907, allocations: 0 / 258 MB, free: 292 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004339/0.01951, allocations: 91.95 kB / 258.1 MB, free: 200 kB / 250.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.0001618/0.01967, allocations: 88.36 kB / 258.2 MB, free: 104 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005845/0.02025, allocations: 429.1 kB / 258.6 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.72e-05/0.02027, allocations: 8 kB / 258.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.02053, allocations: 218.2 kB / 258.8 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.02102, allocations: 487.3 kB / 259.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.02375, allocations: 498 kB / 259.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.67e-05/0.02382, allocations: 84.31 kB / 259.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.195e-05/0.0239, allocations: 17.94 kB / 259.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.02409, allocations: 107.3 kB / 260 MB, free: 14.08 MB / 266.7 MB Notification: Performance of SimCode: time 1.243e-06/0.0241, allocations: 0 / 260 MB, free: 14.08 MB / 266.7 MB Notification: Performance of Templates: time 0.01067/0.03476, allocations: 5.405 MB / 265.4 MB, free: 8.766 MB / 266.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.329944862984121]