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.001101/0.001101, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008648/0.009749, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001371/0.001371, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001765/0.003136, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9968/0.9968, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09377/1.091, allocations: 53.88 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] 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.713e-06/1.713e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.925e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.003162/0.003181, allocations: 2.68 MB / 247.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.004252, allocations: 0.693 MB / 248.6 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.004366, allocations: 7.938 kB / 248.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.594e-05/0.004451, allocations: 27.66 kB / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.004593, allocations: 83.22 kB / 248.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.004847, allocations: 99.78 kB / 248.8 MB, free: 9.938 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.00527, allocations: 370.6 kB / 249.2 MB, free: 9.574 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.005419, allocations: 71.06 kB / 249.2 MB, free: 9.504 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.005682, allocations: 232.2 kB / 249.5 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.005838, allocations: 119.6 kB / 249.6 MB, free: 9.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.005885, allocations: 28 kB / 249.6 MB, free: 9.133 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.651e-05/0.005921, allocations: 32 kB / 249.6 MB, free: 9.102 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/0.005966, allocations: 39.88 kB / 249.7 MB, free: 9.062 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.72e-05/0.006043, allocations: 87.81 kB / 249.8 MB, free: 8.977 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.006294, allocations: 215.2 kB / 250 MB, free: 8.766 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.006307, allocations: 0 / 250 MB, free: 8.766 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.006309, allocations: 4 kB / 250 MB, free: 8.762 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.00632, allocations: 0 / 250 MB, free: 8.762 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.0008949/0.007214, allocations: 0.5929 MB / 250.6 MB, free: 8.133 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.00725, allocations: 8.625 kB / 250.6 MB, free: 8.125 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.00732, allocations: 44.91 kB / 250.6 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.007536, allocations: 169.3 kB / 250.8 MB, free: 7.891 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.007641, allocations: 157.6 kB / 251 MB, free: 7.703 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.00768, allocations: 32.36 kB / 251 MB, free: 7.672 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.007939, allocations: 277.1 kB / 251.3 MB, free: 7.371 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.007947, allocations: 4.188 kB / 251.3 MB, free: 7.367 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.007964, allocations: 8.125 kB / 251.3 MB, free: 7.359 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.00797, allocations: 4 kB / 251.3 MB, free: 7.355 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.008074, allocations: 73.41 kB / 251.3 MB, free: 7.285 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006607/0.008734, allocations: 0.5669 MB / 251.9 MB, free: 6.684 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.00889, allocations: 106.5 kB / 252 MB, free: 6.57 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.717e-05/0.008977, allocations: 64.81 kB / 252.1 MB, free: 6.504 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.008989, allocations: 4 kB / 252.1 MB, free: 6.5 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.009182, allocations: 214.9 kB / 252.3 MB, free: 6.25 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.009183, allocations: 0 / 252.3 MB, free: 6.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005107/0.009694, allocations: 250 kB / 252.5 MB, free: 6 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.009732, allocations: 85.05 kB / 252.6 MB, free: 5.898 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.009836, allocations: 187.5 kB / 252.8 MB, free: 5.699 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.009858, allocations: 33.7 kB / 252.8 MB, free: 5.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.009917, allocations: 144.4 kB / 253 MB, free: 5.516 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.009955, allocations: 71.41 kB / 253 MB, free: 5.445 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.215e-05/0.01002, allocations: 57.8 kB / 253.1 MB, free: 5.383 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.183e-05/0.01009, allocations: 338.8 kB / 253.4 MB, free: 5.043 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.921e-05/0.01016, allocations: 87.66 kB / 253.5 MB, free: 4.945 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.567e-05/0.01024, allocations: 157 kB / 253.7 MB, free: 4.762 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.01037, allocations: 158.8 kB / 253.8 MB, free: 4.586 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01037, allocations: 0 / 253.8 MB, free: 4.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002968/0.01067, allocations: 331.1 kB / 254.1 MB, free: 4.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.01071, allocations: 55.41 kB / 254.2 MB, free: 4.164 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.01072, allocations: 8.094 kB / 254.2 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001847/0.0109, allocations: 84.77 kB / 254.3 MB, free: 4.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.01103, allocations: 39.91 kB / 254.3 MB, free: 4.031 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.01215, allocations: 1.602 MB / 255.9 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.01232, allocations: 47.86 kB / 256 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.01233, allocations: 16.03 kB / 256 MB, free: 2.273 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 8.007e-05/0.01241, allocations: 125.8 kB / 256.1 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.01244, allocations: 19.98 kB / 256.1 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.01246, allocations: 29.8 kB / 256.2 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01246, allocations: 11.88 kB / 256.2 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01247, allocations: 0 / 256.2 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.01247, allocations: 0 / 256.2 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.01269, allocations: 255.6 kB / 256.4 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.0127, allocations: 0 / 256.4 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.551e-05/0.01279, allocations: 36 kB / 256.5 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.01283, allocations: 27.73 kB / 256.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001667/0.013, allocations: 84.72 kB / 256.6 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.01302, allocations: 8 kB / 256.6 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009959/0.01401, allocations: 1.584 MB / 258.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.01402, allocations: 7.938 kB / 258.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.01422, allocations: 210 kB / 258.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.01424, allocations: 3.984 kB / 258.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.01433, allocations: 24.05 kB / 258.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.0144, allocations: 31.89 kB / 258.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.01441, allocations: 4 kB / 258.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.792e-05/0.01445, allocations: 59.03 kB / 258.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01446, allocations: 0 / 258.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002462/0.0147, allocations: 91.89 kB / 258.6 MB, free: 15.54 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 0.0001168/0.01482, allocations: 80.42 kB / 258.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003775/0.0152, allocations: 441 kB / 259.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/0.01521, allocations: 7.984 kB / 259.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.01537, allocations: 211.2 kB / 259.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.01568, allocations: 499.3 kB / 259.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.01732, allocations: 498.2 kB / 260.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.148e-05/0.01737, allocations: 84.31 kB / 260.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.994e-05/0.01743, allocations: 17.95 kB / 260.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.01757, allocations: 99.34 kB / 260.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01757, allocations: 0 / 260.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of Templates: time 0.006808/0.02437, allocations: 5.402 MB / 265.9 MB, free: 8.082 MB / 266.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 -ignoreHideResult -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","",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.2016717540100217]