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.0006974/0.0006974, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008944/0.001592, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007014/0.0007014, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008421/0.001544, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9892/0.9892, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1237/1.113, allocations: 53.87 MB / 243.8 MB, free: 14.89 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.292e-06/1.292e-06, allocations: 0 / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.809e-05, allocations: 2.312 kB / 245 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.003211/0.003229, allocations: 2.684 MB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.004281, allocations: 0.6892 MB / 248.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.004413, allocations: 4 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.067e-05/0.004494, allocations: 35.64 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.004623, allocations: 83.23 kB / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.004836, allocations: 99.78 kB / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003443/0.00518, allocations: 366.5 kB / 249 MB, free: 9.641 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.005311, allocations: 71.08 kB / 249.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.00556, allocations: 232.2 kB / 249.3 MB, free: 9.344 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.005702, allocations: 115.7 kB / 249.4 MB, free: 9.23 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.005742, allocations: 32 kB / 249.4 MB, free: 9.199 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.31e-05/0.005775, allocations: 32 kB / 249.5 MB, free: 9.168 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.005816, allocations: 43.81 kB / 249.5 MB, free: 9.125 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.547e-05/0.005891, allocations: 79.88 kB / 249.6 MB, free: 9.047 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.006121, allocations: 219.2 kB / 249.8 MB, free: 8.832 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.456e-05/0.006135, allocations: 0 / 249.8 MB, free: 8.832 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.006136, allocations: 0 / 249.8 MB, free: 8.832 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.006152, allocations: 0 / 249.8 MB, free: 8.832 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.0007249/0.006877, allocations: 0.5968 MB / 250.4 MB, free: 8.199 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.006907, allocations: 12.62 kB / 250.4 MB, free: 8.188 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.734e-05/0.006965, allocations: 44.89 kB / 250.4 MB, free: 8.145 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.007158, allocations: 165.3 kB / 250.6 MB, free: 7.957 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.247e-05/0.007241, allocations: 157.6 kB / 250.8 MB, free: 7.773 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.007276, allocations: 24.38 kB / 250.8 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.007522, allocations: 285.1 kB / 251.1 MB, free: 7.438 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.00753, allocations: 192 / 251.1 MB, free: 7.438 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.007546, allocations: 12.12 kB / 251.1 MB, free: 7.426 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.007553, allocations: 4 kB / 251.1 MB, free: 7.422 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.007657, allocations: 69.41 kB / 251.1 MB, free: 7.355 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006149/0.008272, allocations: 0.5708 MB / 251.7 MB, free: 6.754 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.008424, allocations: 113.6 kB / 251.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.337e-05/0.008507, allocations: 64.75 kB / 251.9 MB, free: 6.57 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.008519, allocations: 4 kB / 251.9 MB, free: 6.566 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.00869, allocations: 199 kB / 252.1 MB, free: 6.332 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.008691, allocations: 0 / 252.1 MB, free: 6.332 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004833/0.009174, allocations: 246.7 kB / 252.3 MB, free: 6.082 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.009217, allocations: 97.06 kB / 252.4 MB, free: 5.969 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.009321, allocations: 187.5 kB / 252.6 MB, free: 5.77 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.009344, allocations: 33.7 kB / 252.6 MB, free: 5.73 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.009402, allocations: 140.4 kB / 252.8 MB, free: 5.59 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.009448, allocations: 71.41 kB / 252.8 MB, free: 5.52 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.403e-05/0.009512, allocations: 57.88 kB / 252.9 MB, free: 5.457 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.416e-05/0.009586, allocations: 334.8 kB / 253.2 MB, free: 5.121 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/0.009659, allocations: 91.56 kB / 253.3 MB, free: 5.02 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.815e-05/0.009747, allocations: 157 kB / 253.5 MB, free: 4.836 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.009867, allocations: 155.1 kB / 253.6 MB, free: 4.664 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.009869, allocations: 0 / 253.6 MB, free: 4.664 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002825/0.01015, allocations: 326.9 kB / 253.9 MB, free: 4.312 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.004e-05/0.0102, allocations: 67.34 kB / 254 MB, free: 4.234 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.01021, allocations: 0 / 254 MB, free: 4.234 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.01038, allocations: 80.84 kB / 254.1 MB, free: 4.152 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.01051, allocations: 43.91 kB / 254.1 MB, free: 4.109 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.01164, allocations: 1.595 MB / 255.7 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.01182, allocations: 55.75 kB / 255.8 MB, free: 2.367 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.01183, allocations: 15.98 kB / 255.8 MB, free: 2.352 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.492e-05/0.01192, allocations: 133.7 kB / 255.9 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.01194, allocations: 20.02 kB / 255.9 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.01197, allocations: 29.8 kB / 256 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01197, allocations: 7.984 kB / 256 MB, free: 2.16 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.01197, allocations: 0 / 256 MB, free: 2.16 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01198, allocations: 3.938 kB / 256 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.01222, allocations: 251.6 kB / 256.2 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01222, allocations: 0 / 256.2 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.594e-05/0.01231, allocations: 31.91 kB / 256.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.01235, allocations: 27.73 kB / 256.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001341/0.01249, allocations: 84.81 kB / 256.4 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.0125, allocations: 7.938 kB / 256.4 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009249/0.01342, allocations: 1.588 MB / 258 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01343, allocations: 4 kB / 258 MB, free: 52 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.01365, allocations: 206.1 kB / 258.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.01368, allocations: 11.97 kB / 258.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.01376, allocations: 15.98 kB / 258.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.01382, allocations: 27.95 kB / 258.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.01383, allocations: 4 kB / 258.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.533e-05/0.01387, allocations: 71.08 kB / 258.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01387, allocations: 0 / 258.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.01412, allocations: 87.89 kB / 258.4 MB, free: 15.61 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.0001003/0.01422, allocations: 88.36 kB / 258.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003693/0.01459, allocations: 433 kB / 258.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/0.01461, allocations: 4 kB / 258.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.01476, allocations: 211.4 kB / 259.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.01494, allocations: 75.14 kB / 259.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.0167, allocations: 497.9 kB / 259.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.285e-05/0.01675, allocations: 88.31 kB / 259.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.816e-05/0.01681, allocations: 9.656 kB / 259.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.01694, allocations: 111.3 kB / 259.9 MB, free: 14 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01694, allocations: 0 / 259.9 MB, free: 14 MB / 266.7 MB Notification: Performance of Templates: time 0.006695/0.02364, allocations: 5.321 MB / 265.2 MB, free: 8.746 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0245840288698673]