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.001298/0.001298, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001325/0.001325, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.433/1.433, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.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 0.001514/0.001514, allocations: 51.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1078, allocations: 53.32 MB / 426.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003344/0.1111, allocations: 2.056 MB / 428.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1121, allocations: 0.5806 MB / 429 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.157e-05/0.1122, allocations: 0 / 429 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.1123, allocations: 19.8 kB / 429 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.238e-05/0.1124, allocations: 39.69 kB / 429 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.1127, allocations: 67.84 kB / 429.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.1129, allocations: 215.3 kB / 429.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1131, allocations: 33.11 kB / 429.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1132, allocations: 79.77 kB / 429.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.1134, allocations: 99.62 kB / 429.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.1134, allocations: 20 kB / 429.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.886e-05/0.1135, allocations: 24 kB / 429.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.673e-05/0.1135, allocations: 27.91 kB / 429.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.815e-05/0.1136, allocations: 79.66 kB / 429.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.1139, allocations: 191.3 kB / 429.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.1139, allocations: 3.984 kB / 429.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1139, allocations: 3.938 kB / 429.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1139, allocations: 0 / 429.8 MB, free: 1.215 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007888/0.1147, allocations: 496.5 kB / 430.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1147, allocations: 8.031 kB / 430.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.1148, allocations: 42.73 kB / 430.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.1149, allocations: 20.84 kB / 430.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.1152, allocations: 212.2 kB / 430.6 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-05/0.1153, allocations: 93.67 kB / 430.7 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.1153, allocations: 12.38 kB / 430.7 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.1156, allocations: 129.5 kB / 430.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1156, allocations: 7.984 kB / 430.8 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.1156, allocations: 4 kB / 430.9 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1156, allocations: 7.938 kB / 430.9 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.116, allocations: 107.8 kB / 431 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008622/0.1168, allocations: 0.515 MB / 431.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.1172, allocations: 102.7 kB / 431.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.1173, allocations: 52.78 kB / 431.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.1174, allocations: 4 kB / 431.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.1174, allocations: 42.48 kB / 431.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.1174, allocations: 0 / 431.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008855/0.1183, allocations: 295.4 kB / 432 MB, free: 14.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.1183, allocations: 55.41 kB / 432 MB, free: 14.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.1185, allocations: 152.6 kB / 432.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.1185, allocations: 29.7 kB / 432.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.1186, allocations: 123.9 kB / 432.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.1186, allocations: 27.8 kB / 432.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.1187, allocations: 33.7 kB / 432.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1188, allocations: 322.8 kB / 432.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.119, allocations: 59.97 kB / 432.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.1192, allocations: 86.16 kB / 432.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.1195, allocations: 144.2 kB / 433 MB, free: 13.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1195, allocations: 4.375 kB / 433 MB, free: 13.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006311/0.1202, allocations: 259.9 kB / 433.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.1202, allocations: 37.69 kB / 433.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1202, allocations: 96 / 433.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002436/0.1204, allocations: 84.81 kB / 433.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.1205, allocations: 15.98 kB / 433.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.1223, allocations: 1.614 MB / 435 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.1227, allocations: 48.02 kB / 435 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.1227, allocations: 7.938 kB / 435 MB, free: 11.55 MB / 366.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: 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 0.0001182/0.1228, allocations: 129.8 kB / 435.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.1229, allocations: 19.84 kB / 435.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004201/0.1233, allocations: 163.1 kB / 435.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1233, allocations: 0 / 435.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.1233, allocations: 0 / 435.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1233, allocations: 0 / 435.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.1235, allocations: 221.6 kB / 435.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1235, allocations: 0 / 435.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.897e-05/0.1236, allocations: 11.94 kB / 435.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001806/0.1238, allocations: 80.73 kB / 435.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1238, allocations: 4 kB / 435.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.1254, allocations: 1.606 MB / 437.3 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1254, allocations: 0 / 437.3 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004305/0.1259, allocations: 256.3 kB / 437.5 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.1259, allocations: 85.02 kB / 437.6 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.1259, allocations: 8 kB / 437.6 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.1261, allocations: 11.98 kB / 437.6 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.243e-05/0.1261, allocations: 16.16 kB / 437.6 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1262, allocations: 0 / 437.6 MB, free: 8.711 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.749e-05/0.1262, allocations: 118 kB / 437.7 MB, free: 8.598 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1262, allocations: 0 / 437.7 MB, free: 8.598 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000303/0.1265, allocations: 51.94 kB / 437.8 MB, free: 8.547 MB / 366.1 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.0007716/0.1273, allocations: 0.7796 MB / 438.6 MB, free: 7.738 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006537/0.128, allocations: 305.9 kB / 438.9 MB, free: 7.414 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.128, allocations: 0 / 438.9 MB, free: 7.414 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.1283, allocations: 174.5 kB / 439 MB, free: 7.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.1286, allocations: 27.92 kB / 439.1 MB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.1314, allocations: 1.965 MB / 441 MB, free: 5.129 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1317, allocations: 0.7084 MB / 441.7 MB, free: 4.395 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.812e-05/0.1318, allocations: 4.562 kB / 441.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.1318, allocations: 35.42 kB / 441.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1318, allocations: 3.938 kB / 441.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.1655, allocations: 4.508 MB / 446.3 MB, free: 0 / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.62, allocations: 3.547 kB / 446.3 MB, free: 0 / 366.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupply/DemoPowerSupply.csv","/var/lib/jenkins1/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: 14.456671282008756]