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.001922/0.001922, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 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.0015/0.0015, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 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.44/1.44, allocations: 230.6 MB / 257.5 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+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=99999,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=99999,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 0.001833/0.001833, allocations: 55.92 kB / 378.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2687, allocations: 53.35 MB / 431.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004422/0.2731, allocations: 2.653 MB / 434.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.2747, allocations: 0.6919 MB / 435 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.2749, allocations: 4 kB / 435 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.275, allocations: 39.64 kB / 435 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.2752, allocations: 83.22 kB / 435.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.2755, allocations: 91.86 kB / 435.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004525/0.276, allocations: 358.7 kB / 435.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.2762, allocations: 61.12 kB / 435.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.2764, allocations: 147.5 kB / 435.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.2766, allocations: 147.4 kB / 435.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.999e-05/0.2767, allocations: 32 kB / 435.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.598e-05/0.2767, allocations: 35.94 kB / 436 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.797e-05/0.2768, allocations: 63.73 kB / 436 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.277, allocations: 147.3 kB / 436.2 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.2774, allocations: 326.4 kB / 436.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2774, allocations: 0 / 436.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2774, allocations: 4 kB / 436.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.2774, allocations: 0 / 436.5 MB, free: 2.078 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.001159/0.2786, allocations: 0.5672 MB / 437.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2786, allocations: 8.031 kB / 437.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.682e-05/0.2787, allocations: 36.75 kB / 437.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.2791, allocations: 191.4 kB / 437.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.2792, allocations: 153.5 kB / 437.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.2793, allocations: 32.3 kB / 437.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.2798, allocations: 257.9 kB / 437.7 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2798, allocations: 3.938 kB / 437.7 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.2798, allocations: 8 kB / 437.7 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.2799, allocations: 8 kB / 437.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005079/0.2804, allocations: 197.6 kB / 437.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.2818, allocations: 0.8273 MB / 438.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000506/0.2823, allocations: 186.7 kB / 438.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.2826, allocations: 112.8 kB / 439.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.2826, allocations: 7.938 kB / 439.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004042/0.283, allocations: 181.7 kB / 439.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.283, allocations: 0 / 439.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001403/0.2844, allocations: 417.6 kB / 439.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/0.2845, allocations: 114.8 kB / 439.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.2847, allocations: 202.8 kB / 440 MB, free: 14.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.2847, allocations: 33.7 kB / 440 MB, free: 14.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.2849, allocations: 160.4 kB / 440.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.804e-05/0.2849, allocations: 63.44 kB / 440.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.285, allocations: 53.97 kB / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.2852, allocations: 330.8 kB / 440.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.2855, allocations: 100.2 kB / 440.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.2857, allocations: 140.5 kB / 440.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/0.2863, allocations: 251.1 kB / 441.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2863, allocations: 0 / 441.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008243/0.2871, allocations: 415.5 kB / 441.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/0.2871, allocations: 63.39 kB / 441.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2872, allocations: 0 / 441.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003591/0.2875, allocations: 112.7 kB / 441.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.2877, allocations: 31.97 kB / 441.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/0.2904, allocations: 1.965 MB / 443.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/0.2909, allocations: 67.89 kB / 443.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.2909, allocations: 16.17 kB / 443.7 MB, free: 10.4 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.000175/0.2911, allocations: 133.8 kB / 443.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.2911, allocations: 35.67 kB / 443.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.116e-05/0.2912, allocations: 21.81 kB / 443.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.2912, allocations: 7.984 kB / 443.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.2912, allocations: 4 kB / 443.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2912, allocations: 7.922 kB / 443.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005173/0.2917, allocations: 422.2 kB / 444.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2917, allocations: 0 / 444.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.2919, allocations: 23.98 kB / 444.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002734/0.2922, allocations: 112.8 kB / 444.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.2922, allocations: 4 kB / 444.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002326/0.2945, allocations: 1.965 MB / 446.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2945, allocations: 0 / 446.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008747/0.2954, allocations: 408.3 kB / 446.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.053e-05/0.2955, allocations: 31.86 kB / 446.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.2955, allocations: 8 kB / 446.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.2957, allocations: 28.03 kB / 446.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.2958, allocations: 23.95 kB / 446.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.2958, allocations: 8 kB / 446.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001465/0.296, allocations: 148.6 kB / 447.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.296, allocations: 0 / 447.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004161/0.2964, allocations: 91.89 kB / 447.2 MB, free: 6.746 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.0001466/0.2965, allocations: 107.4 kB / 447.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009516/0.2975, allocations: 482.7 kB / 447.7 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2975, allocations: 3.938 kB / 447.7 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004559/0.298, allocations: 238.5 kB / 448 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.2983, allocations: 50.45 kB / 448 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.2994, allocations: 0.544 MB / 448.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.2998, allocations: 0.748 MB / 449.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.258e-05/0.2998, allocations: 17.95 kB / 449.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.2999, allocations: 19.44 kB / 449.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2999, allocations: 0 / 449.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of Templates: time 0.009982/0.3099, allocations: 5.014 MB / 454.4 MB, free: 15.48 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe 2>&1) [Timeout 480] 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.588728648843244]