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.0008005/0.0008005, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000835/0.000835, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8672/0.8672, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.794e-06/1.794e-06, allocations: 0 / 324.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.487e-05, allocations: 3.125 kB / 324.5 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.003089/0.003114, allocations: 2.487 MB / 327 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.004259, allocations: 0.6622 MB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.004409, allocations: 4 kB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.004563, allocations: 35.58 kB / 327.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.004739, allocations: 71.3 kB / 327.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.005125, allocations: 103.8 kB / 327.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003633/0.005488, allocations: 374.5 kB / 328.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.005677, allocations: 60.91 kB / 328.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.005921, allocations: 207.6 kB / 328.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.006064, allocations: 119.6 kB / 328.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.006104, allocations: 32 kB / 328.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.2e-05/0.006136, allocations: 28 kB / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.006184, allocations: 63.69 kB / 328.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.232e-05/0.006277, allocations: 107.8 kB / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.006586, allocations: 354.9 kB / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.00659, allocations: 0 / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.006591, allocations: 0 / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.006597, allocations: 0 / 329.2 MB, free: 11.04 MB / 298.7 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.000847/0.007444, allocations: 0.5672 MB / 329.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.007487, allocations: 15.98 kB / 329.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.051e-05/0.007538, allocations: 58.72 kB / 329.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.772e-05/0.007605, allocations: 36.75 kB / 329.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.007961, allocations: 193.5 kB / 330.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.008089, allocations: 157.6 kB / 330.2 MB, free: 9.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.00813, allocations: 20.38 kB / 330.3 MB, free: 9.891 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/0.008534, allocations: 332.4 kB / 330.6 MB, free: 9.539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.008544, allocations: 192 / 330.6 MB, free: 9.539 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.008565, allocations: 19.88 kB / 330.6 MB, free: 9.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.008572, allocations: 4 kB / 330.6 MB, free: 9.516 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.008882, allocations: 197.9 kB / 330.8 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008689/0.00975, allocations: 0.7618 MB / 331.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.01005, allocations: 190.6 kB / 331.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.01026, allocations: 112.8 kB / 331.9 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.01027, allocations: 4 kB / 331.9 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.01056, allocations: 266.8 kB / 332.1 MB, free: 7.883 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.01056, allocations: 0 / 332.1 MB, free: 7.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008456/0.0114, allocations: 417.8 kB / 332.5 MB, free: 7.469 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.01146, allocations: 106.8 kB / 332.6 MB, free: 7.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.0116, allocations: 203.1 kB / 332.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.01163, allocations: 33.7 kB / 332.9 MB, free: 7.094 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/0.01171, allocations: 152.4 kB / 333 MB, free: 6.941 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.01176, allocations: 75.45 kB / 333.1 MB, free: 6.867 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.28e-05/0.01183, allocations: 53.92 kB / 333.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.528e-05/0.01191, allocations: 330.8 kB / 333.5 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.01211, allocations: 151.6 kB / 333.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.0123, allocations: 224.9 kB / 333.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.01258, allocations: 251 kB / 334.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01258, allocations: 0 / 334.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004922/0.01307, allocations: 458.9 kB / 334.5 MB, free: 5.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/0.01312, allocations: 66.62 kB / 334.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01313, allocations: 3.984 kB / 334.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002489/0.01337, allocations: 116.8 kB / 334.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.01348, allocations: 27.98 kB / 334.7 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.01505, allocations: 1.961 MB / 336.7 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.01529, allocations: 71.88 kB / 336.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.01531, allocations: 8 kB / 336.8 MB, free: 2.941 MB / 298.7 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.00012/0.01543, allocations: 137.8 kB / 336.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.01545, allocations: 23.8 kB / 336.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.01548, allocations: 25.8 kB / 337 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01549, allocations: 7.938 kB / 337 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.01549, allocations: 0 / 337 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01549, allocations: 0 / 337 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.01583, allocations: 398.3 kB / 337.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.01583, allocations: 3.938 kB / 337.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.041e-05/0.01592, allocations: 23.98 kB / 337.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001707/0.01609, allocations: 104.8 kB / 337.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.0161, allocations: 4.031 kB / 337.5 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.01743, allocations: 1.954 MB / 339.4 MB, free: 100 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01743, allocations: 0 / 339.4 MB, free: 100 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005077/0.01794, allocations: 409.4 kB / 339.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.018, allocations: 31.84 kB / 339.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.01801, allocations: 8 kB / 339.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.861e-05/0.01811, allocations: 23.97 kB / 339.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.01819, allocations: 23.95 kB / 339.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.0182, allocations: 12 kB / 339.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.345e-05/0.01829, allocations: 144.6 kB / 340.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01829, allocations: 0 / 340.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002928/0.01858, allocations: 95.91 kB / 340.2 MB, free: 15.34 MB / 314.7 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.0006769/0.01925, allocations: 0.9379 MB / 341.1 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005862/0.01984, allocations: 0.524 MB / 341.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01984, allocations: 0 / 341.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.02008, allocations: 234.5 kB / 341.9 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.02031, allocations: 52.25 kB / 341.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.02291, allocations: 2.934 MB / 344.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.371e-05/0.02301, allocations: 142.2 kB / 345 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.731e-05/0.02307, allocations: 13.95 kB / 345 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/0.02315, allocations: 68.48 kB / 345.1 MB, free: 10.15 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.02316, allocations: 0 / 345.1 MB, free: 10.15 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.04815, allocations: 7.958 MB / 353 MB, free: 2.344 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/7.657, allocations: 2.969 kB / 353 MB, free: 2.344 MB / 314.7 MB " [Timeout remaining time 652] (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/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_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] "" Variables in the reference:time,dcPowerSupply.v,dcPowerSupply.i,bufferCapacitor.v,bufferCapacitor.i Variables in the result:time,bufferCapacitor.v [Calling sys.exit(0), Time elapsed: 11.131333297118545]