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.002383/0.002383, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002819/0.002819, allocations: 161.6 kB / 24.27 MB, free: 156 kB / 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.555/1.555, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.653e-06/1.653e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.859e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004489/0.004517, allocations: 2.611 MB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.00584, allocations: 0.6543 MB / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.005963, allocations: 4 kB / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.006122, allocations: 35.64 kB / 275.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.006315, allocations: 83.22 kB / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.006605, allocations: 99.78 kB / 275.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000701/0.007305, allocations: 370.6 kB / 276.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.007479, allocations: 69.05 kB / 276.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/0.007769, allocations: 203.6 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.007988, allocations: 119.6 kB / 276.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.681e-05/0.008055, allocations: 28 kB / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.482e-05/0.00813, allocations: 32 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.831e-05/0.008208, allocations: 59.81 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.008367, allocations: 107.7 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005001/0.008867, allocations: 358.9 kB / 277.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.008871, allocations: 4 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.008872, allocations: 0 / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.008878, allocations: 0 / 277.1 MB, free: 13 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.001266/0.01014, allocations: 0.6707 MB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.01018, allocations: 12.03 kB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.01031, allocations: 52.75 kB / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.01065, allocations: 200.2 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.01081, allocations: 149.6 kB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.01087, allocations: 28.38 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005911/0.01146, allocations: 338.1 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.01148, allocations: 4.125 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.01151, allocations: 12.12 kB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.01152, allocations: 4 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004959/0.01201, allocations: 181.9 kB / 278.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.01347, allocations: 0.8581 MB / 279.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004739/0.01394, allocations: 195.2 kB / 279.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.01427, allocations: 108 kB / 279.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.0143, allocations: 4 kB / 279.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004504/0.01475, allocations: 277 kB / 280.2 MB, free: 9.691 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.854e-06/0.01475, allocations: 3.938 kB / 280.2 MB, free: 9.688 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.001419/0.01617, allocations: 412.1 kB / 280.6 MB, free: 9.277 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/0.01626, allocations: 106.8 kB / 280.7 MB, free: 9.148 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.01654, allocations: 274.7 kB / 281 MB, free: 8.859 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.01659, allocations: 33.7 kB / 281 MB, free: 8.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.01676, allocations: 215.2 kB / 281.2 MB, free: 8.605 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.398e-05/0.01684, allocations: 67.42 kB / 281.3 MB, free: 8.539 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.01698, allocations: 63.59 kB / 281.3 MB, free: 8.469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003024/0.01728, allocations: 0.5118 MB / 281.9 MB, free: 7.945 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.01758, allocations: 147.6 kB / 282 MB, free: 7.789 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.01795, allocations: 232.3 kB / 282.2 MB, free: 7.527 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004758/0.01843, allocations: 247.5 kB / 282.5 MB, free: 7.262 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.01843, allocations: 4.031 kB / 282.5 MB, free: 7.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008723/0.0193, allocations: 465.8 kB / 282.9 MB, free: 6.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002897/0.01959, allocations: 67.39 kB / 283 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.0196, allocations: 0 / 283 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003811/0.01998, allocations: 123.5 kB / 283.1 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.02015, allocations: 27.98 kB / 283.1 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/0.02326, allocations: 2.575 MB / 285.7 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.02366, allocations: 59.81 kB / 285.8 MB, free: 3.789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.02369, allocations: 8 kB / 285.8 MB, free: 3.781 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.0002158/0.02391, allocations: 184.5 kB / 286 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/0.02397, allocations: 27.86 kB / 286 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.975e-05/0.02404, allocations: 29.8 kB / 286 MB, free: 3.527 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.02404, allocations: 8 kB / 286 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.02404, allocations: 0 / 286 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.02405, allocations: 3.938 kB / 286 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005523/0.0246, allocations: 429 kB / 286.4 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.0246, allocations: 0 / 286.4 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.02475, allocations: 27.98 kB / 286.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002877/0.02504, allocations: 115.6 kB / 286.6 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.02506, allocations: 4 kB / 286.6 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002873/0.02793, allocations: 2.563 MB / 289.2 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.02793, allocations: 4.031 kB / 289.2 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008797/0.02881, allocations: 414.4 kB / 289.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-05/0.0289, allocations: 35.78 kB / 289.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.02894, allocations: 11.98 kB / 289.6 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.02913, allocations: 15.98 kB / 289.6 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.02924, allocations: 35.89 kB / 289.7 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.02926, allocations: 8 kB / 289.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000173/0.02943, allocations: 189.4 kB / 289.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02943, allocations: 4.031 kB / 289.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004239/0.02985, allocations: 91.89 kB / 289.9 MB, free: 15.4 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.0001613/0.03001, allocations: 115.1 kB / 290.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.03133, allocations: 0.589 MB / 290.6 MB, free: 14.63 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.03133, allocations: 0 / 290.6 MB, free: 14.63 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005091/0.03184, allocations: 309.4 kB / 290.9 MB, free: 14.31 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.03219, allocations: 57.56 kB / 291 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.0333, allocations: 0.4949 MB / 291.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.03345, allocations: 138.2 kB / 291.6 MB, free: 13.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.275e-05/0.03352, allocations: 21.62 kB / 291.7 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.03358, allocations: 20.5 kB / 291.7 MB, free: 13.53 MB / 282.7 MB Notification: Performance of SimCode: time 6.32e-07/0.03358, allocations: 0 / 291.7 MB, free: 13.53 MB / 282.7 MB Notification: Performance of Templates: time 0.01054/0.04412, allocations: 4.905 MB / 296.6 MB, free: 8.695 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.688079286948778]