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.001577/0.001577, allocations: 116 kB / 18.45 MB, free: 4.605 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.001785/0.001785, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.508/1.508, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.001662/0.001662, allocations: 55.92 kB / 374.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1035, allocations: 53.33 MB / 427.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.00445/0.1079, allocations: 2.635 MB / 430.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.1095, allocations: 0.6739 MB / 430.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002542/0.1097, allocations: 8 kB / 430.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.1099, allocations: 39.58 kB / 430.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.1102, allocations: 75.34 kB / 430.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.1106, allocations: 87.81 kB / 431 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005735/0.1111, allocations: 374.7 kB / 431.4 MB, free: 356 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.1113, allocations: 64.89 kB / 431.4 MB, free: 284 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.1116, allocations: 143.5 kB / 431.6 MB, free: 140 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1966/0.3082, allocations: 150.6 kB / 431.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.3083, allocations: 30.84 kB / 431.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3085, allocations: 30.72 kB / 431.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.3085, allocations: 58.03 kB / 431.9 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.3087, allocations: 143.8 kB / 432 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.3092, allocations: 329.6 kB / 432.3 MB, free: 8.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3092, allocations: 0.9062 kB / 432.3 MB, free: 8.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3092, allocations: 0 / 432.3 MB, free: 8.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.3093, allocations: 0 / 432.3 MB, free: 8.301 MB / 350.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.001127/0.3104, allocations: 0.6433 MB / 433 MB, free: 7.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3104, allocations: 9.125 kB / 433 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.3105, allocations: 35.25 kB / 433 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.3109, allocations: 256.6 kB / 433.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.943e-05/0.311, allocations: 104.4 kB / 433.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.3111, allocations: 28.88 kB / 433.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.3116, allocations: 250.9 kB / 433.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3116, allocations: 0.6562 kB / 433.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.3116, allocations: 8.906 kB / 433.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.3116, allocations: 5.312 kB / 433.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005149/0.3122, allocations: 201.8 kB / 433.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.3133, allocations: 0.8637 MB / 434.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.3138, allocations: 197.7 kB / 434.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.3141, allocations: 107.5 kB / 435 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.3141, allocations: 5.828 kB / 435 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00041/0.3145, allocations: 181.3 kB / 435.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.884e-06/0.3145, allocations: 0 / 435.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001586/0.3161, allocations: 496.5 kB / 435.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.3162, allocations: 110.7 kB / 435.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.3164, allocations: 209.3 kB / 436 MB, free: 6.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/0.3164, allocations: 32.7 kB / 436 MB, free: 6.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.919e-05/0.3165, allocations: 151 kB / 436.2 MB, free: 6.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.3166, allocations: 70.23 kB / 436.2 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.3167, allocations: 56.48 kB / 436.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.71e-05/0.3168, allocations: 333.9 kB / 436.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.317, allocations: 98.56 kB / 436.7 MB, free: 5.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.3173, allocations: 130.6 kB / 436.8 MB, free: 5.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/0.3178, allocations: 249.5 kB / 437.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3178, allocations: 0 / 437.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008499/0.3186, allocations: 400.6 kB / 437.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.3187, allocations: 65.38 kB / 437.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3187, allocations: 1.062 kB / 437.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003804/0.3191, allocations: 113 kB / 437.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.3193, allocations: 29.83 kB / 437.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.3213, allocations: 2.078 MB / 439.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/0.3218, allocations: 65.41 kB / 439.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.3218, allocations: 14.88 kB / 439.8 MB, free: 4.098 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.0001341/0.322, allocations: 136.7 kB / 440 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.322, allocations: 29.69 kB / 440 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.3221, allocations: 27.06 kB / 440 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3221, allocations: 2.812 kB / 440 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3221, allocations: 1.469 kB / 440 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.3221, allocations: 1.172 kB / 440 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.3225, allocations: 456.7 kB / 440.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3225, allocations: 1.094 kB / 440.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.3227, allocations: 29.5 kB / 440.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002478/0.3229, allocations: 107.5 kB / 440.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.3229, allocations: 6.984 kB / 440.6 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.3247, allocations: 2.069 MB / 442.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3247, allocations: 1.062 kB / 442.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008631/0.3256, allocations: 413.5 kB / 443.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/0.3257, allocations: 108.5 kB / 443.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.3257, allocations: 6.281 kB / 443.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.3259, allocations: 23.28 kB / 443.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.326, allocations: 29.52 kB / 443.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.3261, allocations: 12.27 kB / 443.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.3262, allocations: 149.4 kB / 443.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3262, allocations: 0 / 443.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00046/0.3267, allocations: 90.78 kB / 443.5 MB, free: 1.273 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.0001262/0.3268, allocations: 107.2 kB / 443.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009687/0.3278, allocations: 481.2 kB / 444.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3278, allocations: 1.281 kB / 444.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004356/0.3282, allocations: 237.9 kB / 444.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.3286, allocations: 48.55 kB / 444.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.3297, allocations: 0.5534 MB / 444.9 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.33, allocations: 0.7538 MB / 445.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.3301, allocations: 21.25 kB / 445.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3301, allocations: 0 / 445.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Templates: time 0.008469/0.3386, allocations: 4.114 MB / 449.8 MB, free: 15.34 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupplyWithBuffer/DemoPowerSupplyWithBuffer.csv","/var/lib/jenkins1/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: 8.645137056009844]