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.001473/0.001473, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.001603/0.001603, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 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 1.672/1.672, allocations: 230.4 MB / 254 MB, free: 15.16 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupplyWithBuffer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupplyWithBuffer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 59.89 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1219, allocations: 53.38 MB / 426.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004497/0.1263, allocations: 2.638 MB / 429 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.1281, allocations: 0.6817 MB / 429.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.1283, allocations: 0 / 429.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.1284, allocations: 35.59 kB / 429.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.1287, allocations: 79.34 kB / 429.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.1291, allocations: 99.78 kB / 429.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005028/0.1296, allocations: 366.7 kB / 430.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.1298, allocations: 64.89 kB / 430.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.13, allocations: 143.5 kB / 430.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.1302, allocations: 147.4 kB / 430.6 MB, free: 440 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.1303, allocations: 32 kB / 430.6 MB, free: 408 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.681e-05/0.1303, allocations: 32 kB / 430.7 MB, free: 376 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.036e-05/0.1304, allocations: 71.67 kB / 430.7 MB, free: 304 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.1306, allocations: 143.4 kB / 430.9 MB, free: 160 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2477/0.3783, allocations: 327.6 kB / 431.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3783, allocations: 0 / 431.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3783, allocations: 0 / 431.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.3783, allocations: 0.5 kB / 431.2 MB, free: 8.391 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.001475/0.3798, allocations: 0.6376 MB / 431.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.202e-05/0.3799, allocations: 9.656 kB / 431.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.492e-05/0.38, allocations: 59.08 kB / 431.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.3801, allocations: 35.03 kB / 431.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.3805, allocations: 253.3 kB / 432.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.3806, allocations: 99.77 kB / 432.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.833e-05/0.3807, allocations: 28.7 kB / 432.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007328/0.3815, allocations: 252.8 kB / 432.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3815, allocations: 1.781 kB / 432.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.3815, allocations: 8.906 kB / 432.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.3815, allocations: 8.938 kB / 432.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007524/0.3823, allocations: 199.1 kB / 432.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.3839, allocations: 0.8602 MB / 433.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006608/0.3846, allocations: 195.3 kB / 433.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004101/0.385, allocations: 115.1 kB / 433.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.385, allocations: 5.625 kB / 433.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005244/0.3855, allocations: 175.4 kB / 434.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.505e-06/0.3856, allocations: 6.094 kB / 434.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.002106/0.3877, allocations: 494.8 kB / 434.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.3877, allocations: 113.9 kB / 434.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.388, allocations: 204.9 kB / 434.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.388, allocations: 34.45 kB / 435 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.852e-05/0.3881, allocations: 158.4 kB / 435.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.3882, allocations: 69.97 kB / 435.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.3884, allocations: 54.84 kB / 435.2 MB, free: 6.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.557e-05/0.3884, allocations: 327.4 kB / 435.5 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/0.3888, allocations: 100.8 kB / 435.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.3893, allocations: 136.7 kB / 435.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/0.39, allocations: 248.4 kB / 436 MB, free: 5.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.39, allocations: 1.312 kB / 436 MB, free: 5.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001225/0.3912, allocations: 398.1 kB / 436.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.087e-05/0.3913, allocations: 66.12 kB / 436.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.3913, allocations: 1.062 kB / 436.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005256/0.3918, allocations: 106.3 kB / 436.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.3921, allocations: 34.45 kB / 436.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002844/0.3949, allocations: 2.074 MB / 438.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007483/0.3957, allocations: 67.89 kB / 438.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.3957, allocations: 10.7 kB / 438.8 MB, free: 4.156 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.0001996/0.3959, allocations: 140.7 kB / 438.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.396, allocations: 29.33 kB / 438.9 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.863e-05/0.3961, allocations: 26.97 kB / 439 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3961, allocations: 5.688 kB / 439 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3961, allocations: 2.047 kB / 439 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3961, allocations: 3.078 kB / 439 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/0.3967, allocations: 450.4 kB / 439.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3967, allocations: 2.781 kB / 439.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.3969, allocations: 24.78 kB / 439.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004078/0.3973, allocations: 105.6 kB / 439.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.3973, allocations: 9.812 kB / 439.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002741/0.4001, allocations: 2.077 MB / 441.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.4001, allocations: 1.719 kB / 441.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.4014, allocations: 413.1 kB / 442 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.4015, allocations: 112.2 kB / 442.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.293e-05/0.4016, allocations: 3.328 kB / 442.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.4019, allocations: 24.25 kB / 442.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.402, allocations: 28.66 kB / 442.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.4021, allocations: 4.953 kB / 442.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002128/0.4023, allocations: 150.1 kB / 442.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4023, allocations: 0 / 442.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008179/0.4031, allocations: 89.33 kB / 442.4 MB, free: 1.359 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.001511/0.4046, allocations: 0.9422 MB / 443.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.4059, allocations: 478.7 kB / 443.8 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4059, allocations: 6 kB / 443.8 MB, free: 304 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005983/0.4065, allocations: 234.3 kB / 444.1 MB, free: 148 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005792/0.4071, allocations: 57.45 kB / 444.1 MB, free: 128 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006843/0.414, allocations: 2.733 MB / 446.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/0.4147, allocations: 0.749 MB / 447.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.4148, allocations: 13.12 kB / 447.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.4149, allocations: 67.41 kB / 447.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4149, allocations: 4 kB / 447.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05313/0.4681, allocations: 7.16 MB / 454.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.64, allocations: 1.375 kB / 454.9 MB, free: 12.15 MB / 366.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.00001e-05 Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupplyWithBuffer.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.csv","/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_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.csv failed! Error: Could not read variable dcPowerSupply.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.csv. Warning: Get data of variable dcPowerSupply.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.csv failed! Error: Could not read variable dcPowerSupply.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.csv. Warning: Get data of variable dcPowerSupply.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.csv failed! Error: Could not read variable bufferCapacitor.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.csv. Warning: Get data of variable bufferCapacitor.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.556069924961776]