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.001705/0.001705, allocations: 116 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.002142/0.002142, allocations: 214.5 kB / 23.74 MB, free: 4.66 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.405/1.405, allocations: 230.6 MB / 257.5 MB, free: 8.02 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupplyWithBuffer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupplyWithBuffer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 47.92 kB / 377.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2591, allocations: 53.36 MB / 431.2 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.003922/0.263, allocations: 2.655 MB / 433.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.2642, allocations: 0.6933 MB / 434.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.2644, allocations: 4 kB / 434.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.2645, allocations: 43.58 kB / 434.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.2647, allocations: 75.28 kB / 434.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.2649, allocations: 87.88 kB / 434.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004141/0.2654, allocations: 362.7 kB / 435.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.2655, allocations: 70.12 kB / 435.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.2657, allocations: 143.5 kB / 435.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.2659, allocations: 151.4 kB / 435.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.286e-05/0.266, allocations: 35.94 kB / 435.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.132e-05/0.266, allocations: 28 kB / 435.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.2661, allocations: 55.83 kB / 435.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.2663, allocations: 151.2 kB / 435.7 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003824/0.2666, allocations: 330.1 kB / 436 MB, free: 2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2666, allocations: 0 / 436 MB, free: 2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2666, allocations: 0 / 436 MB, free: 2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2667, allocations: 0 / 436 MB, free: 2 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.001119/0.2678, allocations: 0.5711 MB / 436.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2678, allocations: 8.031 kB / 436.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.203e-05/0.2679, allocations: 58.72 kB / 436.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.489e-05/0.268, allocations: 36.75 kB / 436.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.2683, allocations: 199.3 kB / 436.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.2685, allocations: 153.5 kB / 437 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.2685, allocations: 24.31 kB / 437 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.2691, allocations: 261.8 kB / 437.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2691, allocations: 0 / 437.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.2691, allocations: 7.984 kB / 437.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.2691, allocations: 8 kB / 437.3 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005101/0.2696, allocations: 205.6 kB / 437.5 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.2709, allocations: 0.8196 MB / 438.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004854/0.2714, allocations: 190.7 kB / 438.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.2717, allocations: 119.5 kB / 438.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.2717, allocations: 4 kB / 438.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003979/0.2721, allocations: 177.8 kB / 438.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.2721, allocations: 0 / 438.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001362/0.2735, allocations: 410.5 kB / 439.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.147e-05/0.2736, allocations: 114.8 kB / 439.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.2738, allocations: 202.8 kB / 439.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/0.2738, allocations: 33.7 kB / 439.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.2739, allocations: 156.4 kB / 439.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.621e-05/0.274, allocations: 71.41 kB / 439.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.2741, allocations: 53.94 kB / 439.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2742, allocations: 330.8 kB / 440.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.2745, allocations: 100.2 kB / 440.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.2748, allocations: 143.8 kB / 440.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.2753, allocations: 247.1 kB / 440.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2753, allocations: 0 / 440.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007897/0.2761, allocations: 407.5 kB / 441 MB, free: 12.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.898e-05/0.2761, allocations: 59.39 kB / 441.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2762, allocations: 4 kB / 441.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/0.2765, allocations: 112.8 kB / 441.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.2767, allocations: 31.97 kB / 441.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.2791, allocations: 1.973 MB / 443.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004573/0.2796, allocations: 67.89 kB / 443.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.2796, allocations: 16.12 kB / 443.3 MB, free: 10.25 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.0001515/0.2798, allocations: 132.7 kB / 443.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.2798, allocations: 35.72 kB / 443.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.176e-05/0.2798, allocations: 29.81 kB / 443.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.2798, allocations: 7.938 kB / 443.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.2798, allocations: 0 / 443.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2799, allocations: 7.969 kB / 443.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/0.2803, allocations: 422.2 kB / 443.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2803, allocations: 0 / 443.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.2805, allocations: 23.98 kB / 443.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002565/0.2807, allocations: 108.8 kB / 444 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.2808, allocations: 7.984 kB / 444.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.2829, allocations: 1.965 MB / 446 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2829, allocations: 4.062 kB / 446 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008453/0.2838, allocations: 400.4 kB / 446.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.2839, allocations: 31.91 kB / 446.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.2839, allocations: 16.06 kB / 446.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.2841, allocations: 23.97 kB / 446.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/0.2842, allocations: 23.95 kB / 446.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.2842, allocations: 8 kB / 446.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.2843, allocations: 144.6 kB / 446.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2843, allocations: 0 / 446.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004089/0.2848, allocations: 91.89 kB / 446.7 MB, free: 6.602 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.001184/0.2859, allocations: 0.9434 MB / 447.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009234/0.2869, allocations: 477.2 kB / 448.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2869, allocations: 0 / 448.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004448/0.2873, allocations: 245 kB / 448.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.2877, allocations: 52.05 kB / 448.4 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.2917, allocations: 2.719 MB / 451.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.2921, allocations: 0.748 MB / 451.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.07e-05/0.2922, allocations: 13.97 kB / 451.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.2923, allocations: 71.41 kB / 452 MB, free: 1.125 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2923, allocations: 0 / 452 MB, free: 1.125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03881/0.3311, allocations: 7.346 MB / 459.3 MB, free: 9.945 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.63, allocations: 9.891 kB / 459.3 MB, free: 9.941 MB / 366.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupplyWithBuffer.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.csv. Warning: Get data of variable Time from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.csv failed! Error: Could not read variable dcPowerSupply.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.csv. Warning: Get data of variable dcPowerSupply.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.csv failed! Error: Could not read variable dcPowerSupply.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.csv. Warning: Get data of variable dcPowerSupply.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.csv failed! Error: Could not read variable bufferCapacitor.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.csv. Warning: Get data of variable bufferCapacitor.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.82588383500115]