Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001315/0.001315, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001381/0.001381, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.567/1.567, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=99999,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|bufferCapacitor.v|bufferCapacitor.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99999,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|bufferCapacitor.v|bufferCapacitor.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 64.95 kB / 379 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2827, allocations: 53.37 MB / 432.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004278/0.287, allocations: 2.655 MB / 435.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.2886, allocations: 0.6817 MB / 435.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.2888, allocations: 7.938 kB / 435.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.2889, allocations: 35.64 kB / 435.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.2891, allocations: 87.27 kB / 435.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.2894, allocations: 91.81 kB / 436 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004284/0.2899, allocations: 354.7 kB / 436.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.29, allocations: 71.09 kB / 436.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.2902, allocations: 143.5 kB / 436.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.2904, allocations: 143.4 kB / 436.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.2905, allocations: 32 kB / 436.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.78e-05/0.2905, allocations: 31.94 kB / 436.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.373e-05/0.2906, allocations: 71.8 kB / 436.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.2908, allocations: 151.2 kB / 436.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.2912, allocations: 322.4 kB / 437.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2912, allocations: 0 / 437.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2912, allocations: 0 / 437.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.2913, allocations: 0 / 437.3 MB, free: 2.07 MB / 334.1 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.001272/0.2925, allocations: 0.5789 MB / 437.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2926, allocations: 8.031 kB / 437.9 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.286e-05/0.2927, allocations: 36.75 kB / 437.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.2931, allocations: 186.8 kB / 438.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.2932, allocations: 98.11 kB / 438.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/0.2933, allocations: 28.36 kB / 438.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.2938, allocations: 261.9 kB / 438.4 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2939, allocations: 3.938 kB / 438.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.2939, allocations: 12 kB / 438.5 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.2939, allocations: 4 kB / 438.5 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.2944, allocations: 197.6 kB / 438.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.2958, allocations: 0.8274 MB / 439.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/0.2963, allocations: 198.6 kB / 439.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.2966, allocations: 108.8 kB / 439.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.2966, allocations: 4 kB / 439.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003634/0.297, allocations: 181.8 kB / 440 MB, free: 15.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.172e-06/0.297, allocations: 0 / 440 MB, free: 15.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001354/0.2984, allocations: 414.5 kB / 440.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.2984, allocations: 114.8 kB / 440.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.2986, allocations: 206.8 kB / 440.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.2987, allocations: 33.7 kB / 440.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.2988, allocations: 152.4 kB / 440.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.981e-05/0.2989, allocations: 71.42 kB / 440.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.299, allocations: 53.94 kB / 441 MB, free: 14.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2991, allocations: 330.8 kB / 441.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.2994, allocations: 100.2 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.2997, allocations: 136.6 kB / 441.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/0.3002, allocations: 251 kB / 441.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3002, allocations: 0 / 441.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008013/0.301, allocations: 403.4 kB / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.091e-05/0.3011, allocations: 67.39 kB / 442.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3011, allocations: 4 kB / 442.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003385/0.3014, allocations: 108.8 kB / 442.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.3016, allocations: 31.97 kB / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.304, allocations: 1.981 MB / 444.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004424/0.3044, allocations: 63.83 kB / 444.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.3044, allocations: 8 kB / 444.4 MB, free: 10.45 MB / 350.1 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.0001563/0.3046, allocations: 147.2 kB / 444.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.3046, allocations: 31.73 kB / 444.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.116e-05/0.3047, allocations: 29.81 kB / 444.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3047, allocations: 7.984 kB / 444.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.3047, allocations: 0 / 444.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3047, allocations: 0 / 444.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.3052, allocations: 426.1 kB / 445.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3052, allocations: 0 / 445.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.3053, allocations: 27.97 kB / 445.1 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002584/0.3056, allocations: 104.7 kB / 445.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.3056, allocations: 8.031 kB / 445.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.3078, allocations: 1.961 MB / 447.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3078, allocations: 4.281 kB / 447.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008426/0.3086, allocations: 406.4 kB / 447.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-05/0.3087, allocations: 35.84 kB / 447.6 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.3087, allocations: 7.938 kB / 447.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.309, allocations: 23.97 kB / 447.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.732e-05/0.3091, allocations: 27.95 kB / 447.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.3091, allocations: 4 kB / 447.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.3092, allocations: 152.7 kB / 447.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3092, allocations: 0 / 447.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003972/0.3096, allocations: 91.89 kB / 447.9 MB, free: 6.789 MB / 350.1 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.0001382/0.3097, allocations: 103.2 kB / 448 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009431/0.3107, allocations: 488 kB / 448.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3107, allocations: 0 / 448.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004385/0.3111, allocations: 240.8 kB / 448.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3115, allocations: 52.11 kB / 448.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.3126, allocations: 0.5309 MB / 449.3 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.313, allocations: 0.748 MB / 450 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.493e-05/0.313, allocations: 13.95 kB / 450.1 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.3131, allocations: 15.44 kB / 450.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3131, allocations: 0 / 450.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of Templates: time 0.009798/0.3229, allocations: 5.017 MB / 455.1 MB, free: 15.53 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.600527057424188]