Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.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.0008511/0.0008511, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001002/0.001002, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8986/0.8986, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.DemoPowerSupply,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 3.938 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152e-05/1.287e-05, allocations: 6.281 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.00216/0.002173, allocations: 2.011 MB / 326.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007115/0.002885, allocations: 0.5455 MB / 327.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.002957, allocations: 3.938 kB / 327.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.046e-05/0.003048, allocations: 15.86 kB / 327.2 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.28e-05/0.00312, allocations: 39.64 kB / 327.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.003349, allocations: 75.72 kB / 327.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.003555, allocations: 219.2 kB / 327.5 MB, free: 13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.003675, allocations: 29.25 kB / 327.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.003797, allocations: 119.8 kB / 327.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.003952, allocations: 71.83 kB / 327.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.00398, allocations: 20 kB / 327.7 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.712e-05/0.004027, allocations: 20 kB / 327.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.004055, allocations: 31.89 kB / 327.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.756e-05/0.004113, allocations: 59.84 kB / 327.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.004325, allocations: 207.4 kB / 328 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004327, allocations: 0 / 328 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004329, allocations: 4 kB / 328 MB, free: 12.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.004333, allocations: 0 / 328 MB, free: 12.45 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005778/0.004911, allocations: 411.4 kB / 328.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.004946, allocations: 8.031 kB / 328.4 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.261e-05/0.004979, allocations: 46.73 kB / 328.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.411e-05/0.005073, allocations: 24.78 kB / 328.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.005281, allocations: 153.6 kB / 328.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.134e-05/0.005363, allocations: 145.1 kB / 328.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.005382, allocations: 16.38 kB / 328.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.005603, allocations: 208.1 kB / 329 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.005611, allocations: 8.109 kB / 329 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.005626, allocations: 7.938 kB / 329 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.005631, allocations: 0 / 329 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.005817, allocations: 114.8 kB / 329.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005538/0.006371, allocations: 450.7 kB / 329.6 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.006596, allocations: 110.7 kB / 329.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.378e-05/0.006669, allocations: 44.83 kB / 329.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.00669, allocations: 3.938 kB / 329.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.00671, allocations: 34.56 kB / 329.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.011e-06/0.006711, allocations: 4 kB / 329.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005163/0.007227, allocations: 226.3 kB / 330 MB, free: 10.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.007255, allocations: 51.41 kB / 330.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.682e-05/0.007352, allocations: 149.3 kB / 330.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.007372, allocations: 33.7 kB / 330.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.007426, allocations: 120 kB / 330.4 MB, free: 9.891 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.007442, allocations: 27.81 kB / 330.4 MB, free: 9.863 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.007489, allocations: 33.7 kB / 330.4 MB, free: 9.824 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.018e-05/0.007569, allocations: 322.8 kB / 330.7 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.007681, allocations: 85.67 kB / 330.8 MB, free: 9.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.007795, allocations: 108.2 kB / 330.9 MB, free: 9.289 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.007969, allocations: 148.2 kB / 331.1 MB, free: 9.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.00797, allocations: 4 kB / 331.1 MB, free: 9.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003694/0.00834, allocations: 297.5 kB / 331.4 MB, free: 8.812 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.008366, allocations: 33.7 kB / 331.4 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.008372, allocations: 7.984 kB / 331.4 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/0.008547, allocations: 68.89 kB / 331.5 MB, free: 8.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.881e-05/0.008596, allocations: 19.97 kB / 331.5 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.009681, allocations: 1.498 MB / 333 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.00984, allocations: 48.02 kB / 333 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.009851, allocations: 4 kB / 333 MB, free: 7.016 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: 3 (dcPowerSupply.cp,dcPowerSupply.cc,dcPowerSupply.cv) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 7.499e-05/0.009926, allocations: 125.8 kB / 333.2 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.009951, allocations: 19.89 kB / 333.2 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.01019, allocations: 167.6 kB / 333.3 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.01019, allocations: 0 / 333.3 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.01019, allocations: 3.938 kB / 333.3 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.0102, allocations: 4 kB / 333.4 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.01033, allocations: 172.7 kB / 333.5 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01033, allocations: 3.984 kB / 333.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.01037, allocations: 11.94 kB / 333.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/0.01048, allocations: 80.8 kB / 333.6 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.01049, allocations: 4 kB / 333.6 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008639/0.01135, allocations: 1.498 MB / 335.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01135, allocations: 0 / 335.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.01158, allocations: 256.3 kB / 335.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.01159, allocations: 11.91 kB / 335.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-06/0.0116, allocations: 0 / 335.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.01167, allocations: 15.98 kB / 335.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.01172, allocations: 15.97 kB / 335.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.01173, allocations: 4 kB / 335.4 MB, free: 4.434 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.847e-05/0.01178, allocations: 107.2 kB / 335.5 MB, free: 4.328 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01178, allocations: 0 / 335.5 MB, free: 4.328 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.01199, allocations: 51.94 kB / 335.6 MB, free: 4.277 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (dcPowerSupply.cv,dcPowerSupply.cc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004197/0.01241, allocations: 0.7948 MB / 336.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004138/0.01282, allocations: 323.9 kB / 336.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01283, allocations: 0 / 336.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.01297, allocations: 178.8 kB / 336.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.01318, allocations: 20.17 kB / 336.9 MB, free: 2.902 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.01488, allocations: 2.084 MB / 339 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.186e-05/0.01495, allocations: 97.78 kB / 339.1 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.397e-05/0.01499, allocations: 8.5 kB / 339.1 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.01504, allocations: 44.42 kB / 339.1 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01505, allocations: 0 / 339.1 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.03369, allocations: 5.296 MB / 344.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.843/7.877, allocations: 9.391 kB / 344.4 MB, free: 11.37 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupply.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupply/DemoPowerSupply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.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.DemoPowerSupply_res.csv. Warning: Get data of variable Time from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv failed! Error: Could not read variable dcPowerSupply.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv. Warning: Get data of variable dcPowerSupply.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.73316843714565]