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.001858/0.001858, allocations: 116.5 kB / 20.44 MB, free: 1.469 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.00216/0.00216, allocations: 212.4 kB / 23.74 MB, free: 4.695 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.41/1.41, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.001816/0.001816, allocations: 59.91 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.275, allocations: 53.41 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004081/0.2791, allocations: 2.655 MB / 433.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.2803, allocations: 0.6778 MB / 434.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.2804, allocations: 4 kB / 434.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.2806, allocations: 43.52 kB / 434.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.2807, allocations: 79.34 kB / 434.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.281, allocations: 95.8 kB / 434.8 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004577/0.2815, allocations: 358.8 kB / 435.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.2816, allocations: 64.52 kB / 435.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.2818, allocations: 143.5 kB / 435.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.2821, allocations: 155.3 kB / 435.5 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.2821, allocations: 35.94 kB / 435.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.958e-05/0.2822, allocations: 28 kB / 435.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.677e-05/0.2823, allocations: 63.81 kB / 435.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.2824, allocations: 147.3 kB / 435.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000419/0.2828, allocations: 327.8 kB / 436 MB, free: 1.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.2829, allocations: 0 / 436 MB, free: 1.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2829, allocations: 0 / 436 MB, free: 1.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.2829, allocations: 4 kB / 436 MB, free: 1.816 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.001166/0.284, allocations: 0.5633 MB / 436.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2841, allocations: 8.031 kB / 436.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.374e-05/0.2842, allocations: 62.66 kB / 436.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.559e-05/0.2842, allocations: 40.75 kB / 436.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/0.2846, allocations: 190.7 kB / 436.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.2848, allocations: 153.5 kB / 437.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/0.2849, allocations: 32.31 kB / 437.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005336/0.2854, allocations: 261.8 kB / 437.3 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.2854, allocations: 0 / 437.3 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.2854, allocations: 11.98 kB / 437.4 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.2854, allocations: 8 kB / 437.4 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.2859, allocations: 197.6 kB / 437.6 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.2872, allocations: 0.8235 MB / 438.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.2877, allocations: 194.6 kB / 438.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.288, allocations: 111.5 kB / 438.7 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.288, allocations: 4 kB / 438.7 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003834/0.2884, allocations: 189.3 kB / 438.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.2884, allocations: 0 / 438.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001379/0.2898, allocations: 414.6 kB / 439.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.979e-05/0.2899, allocations: 114.7 kB / 439.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.2901, allocations: 206.8 kB / 439.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.2901, allocations: 33.7 kB / 439.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.2903, allocations: 148.4 kB / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.061e-05/0.2903, allocations: 67.42 kB / 439.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.2904, allocations: 57.94 kB / 439.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2906, allocations: 334.8 kB / 440.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.2909, allocations: 92.19 kB / 440.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.2911, allocations: 137.3 kB / 440.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.2916, allocations: 251 kB / 440.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2916, allocations: 4 kB / 440.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007836/0.2924, allocations: 407.4 kB / 441.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.156e-05/0.2925, allocations: 63.41 kB / 441.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2925, allocations: 3.984 kB / 441.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003276/0.2928, allocations: 108.8 kB / 441.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.293, allocations: 31.92 kB / 441.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/0.2954, allocations: 1.973 MB / 443.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/0.2958, allocations: 67.89 kB / 443.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.2959, allocations: 11.94 kB / 443.3 MB, free: 10.07 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.0001459/0.296, allocations: 137.8 kB / 443.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.296, allocations: 27.8 kB / 443.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.2961, allocations: 29.8 kB / 443.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2961, allocations: 4 kB / 443.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.2961, allocations: 0 / 443.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2961, allocations: 0 / 443.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.2966, allocations: 426.2 kB / 443.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2966, allocations: 0 / 443.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.2967, allocations: 35.91 kB / 444 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002498/0.297, allocations: 104.8 kB / 444.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.297, allocations: 8 kB / 444.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/0.2991, allocations: 1.965 MB / 446.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2991, allocations: 3.984 kB / 446.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008323/0.3, allocations: 402.5 kB / 446.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.85e-05/0.3001, allocations: 31.91 kB / 446.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.3001, allocations: 4 kB / 446.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.3003, allocations: 23.97 kB / 446.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.126e-05/0.3004, allocations: 35.95 kB / 446.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.3004, allocations: 4 kB / 446.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.3005, allocations: 144.6 kB / 446.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3005, allocations: 0 / 446.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003881/0.3009, allocations: 91.89 kB / 446.8 MB, free: 6.422 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.001148/0.3021, allocations: 0.9409 MB / 447.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008885/0.303, allocations: 477.8 kB / 448.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.303, allocations: 0 / 448.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004341/0.3034, allocations: 245.2 kB / 448.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.3037, allocations: 64.16 kB / 448.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.3078, allocations: 2.716 MB / 451.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.3082, allocations: 0.748 MB / 452 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.648e-05/0.3083, allocations: 17.94 kB / 452 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.3084, allocations: 71.41 kB / 452 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3084, allocations: 0 / 452 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04048/0.3489, allocations: 7.342 MB / 459.4 MB, free: 9.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.54, allocations: 15.84 kB / 459.4 MB, free: 9.723 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: 17.660578949999035]