Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 116.4 kB / 17.74 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 185.3 kB / 20.68 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 222.9 MB / 246.4 MB, free: 4.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3135/0.3135, allocations: 38.02 MB / 336.6 MB, free: 12.91 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 59.53 kB / 466.4 MB, free: 27.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1344, allocations: 58.07 MB / 0.5121 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.007148/0.1416, allocations: 4.081 MB / 0.5161 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1433, allocations: 0.8453 MB / 0.517 GB, free: 5.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.1436, allocations: 11.94 kB / 0.517 GB, free: 5.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.1438, allocations: 47.56 kB / 0.517 GB, free: 5.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006414/0.1445, allocations: 171 kB / 0.5172 GB, free: 5.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.1448, allocations: 87.81 kB / 0.5173 GB, free: 4.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006433/0.1455, allocations: 394.5 kB / 0.5176 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.1457, allocations: 110.2 kB / 0.5177 GB, free: 4.477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003855/0.1461, allocations: 183.2 kB / 0.5179 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003956/0.1465, allocations: 179.3 kB / 0.5181 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.4e-05/0.1466, allocations: 24 kB / 0.5181 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.213e-05/0.1467, allocations: 24 kB / 0.5181 GB, free: 4.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.1468, allocations: 87.72 kB / 0.5182 GB, free: 3.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.147, allocations: 143.2 kB / 0.5183 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.1474, allocations: 286.7 kB / 0.5186 GB, free: 3.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1474, allocations: 0 / 0.5186 GB, free: 3.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1474, allocations: 0 / 0.5186 GB, free: 3.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.1475, allocations: 4 kB / 0.5186 GB, free: 3.562 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001187/0.1487, allocations: 0.6047 MB / 0.5192 GB, free: 2.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.1487, allocations: 15.89 kB / 0.5192 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.008e-05/0.1488, allocations: 54.73 kB / 0.5193 GB, free: 2.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.308e-05/0.1489, allocations: 32.7 kB / 0.5193 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006284/0.1495, allocations: 343.2 kB / 0.5196 GB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.1496, allocations: 20.81 kB / 0.5197 GB, free: 2.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.1497, allocations: 31.92 kB / 0.5197 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004776/0.1502, allocations: 290 kB / 0.52 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1502, allocations: 4 kB / 0.52 GB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.1503, allocations: 8 kB / 0.52 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.1503, allocations: 8 kB / 0.52 GB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.1506, allocations: 191.7 kB / 0.5202 GB, free: 1.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.1524, allocations: 1.284 MB / 0.5214 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.1527, allocations: 119.8 kB / 0.5215 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.545e-05/0.1528, allocations: 42.64 kB / 0.5216 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1528, allocations: 0 / 0.5216 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.1528, allocations: 42.55 kB / 0.5216 GB, free: 228 kB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1528, allocations: 3.938 kB / 0.5216 GB, free: 224 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009921/0.1538, allocations: 0.5324 MB / 0.5221 GB, free: 15.63 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/0.1539, allocations: 106.8 kB / 0.5222 GB, free: 15.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.1542, allocations: 242.7 kB / 0.5225 GB, free: 15.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1542, allocations: 25.7 kB / 0.5225 GB, free: 15.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.1544, allocations: 200 kB / 0.5227 GB, free: 15.03 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.1544, allocations: 43.62 kB / 0.5227 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.568e-05/0.1545, allocations: 53.91 kB / 0.5228 GB, free: 14.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.1547, allocations: 338.8 kB / 0.5231 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-05/0.1548, allocations: 39.98 kB / 0.5231 GB, free: 14.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.155, allocations: 131.9 kB / 0.5233 GB, free: 14.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.1553, allocations: 183.8 kB / 0.5234 GB, free: 14.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.1553, allocations: 4 kB / 0.5235 GB, free: 14.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004365/0.1557, allocations: 234 kB / 0.5237 GB, free: 13.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1558, allocations: 8 kB / 0.5237 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1558, allocations: 0 / 0.5237 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001317/0.1559, allocations: 33.19 kB / 0.5237 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.1562, allocations: 63.89 kB / 0.5238 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.1563, allocations: 4.234 kB / 0.5238 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.1564, allocations: 11.94 kB / 0.5238 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.1564, allocations: 15.97 kB / 0.5238 GB, free: 13.78 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001556/0.1566, allocations: 145.8 kB / 0.5239 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/0.1566, allocations: 27.86 kB / 0.524 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.1569, allocations: 143.3 kB / 0.5241 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.1569, allocations: 7.938 kB / 0.5241 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.157, allocations: 0 / 0.5241 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.157, allocations: 0 / 0.5241 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.1574, allocations: 293.5 kB / 0.5244 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1574, allocations: 4 kB / 0.5244 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.1575, allocations: 24.08 kB / 0.5244 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.301e-05/0.1576, allocations: 7.938 kB / 0.5244 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1576, allocations: 4 kB / 0.5244 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.1576, allocations: 7.938 kB / 0.5244 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1576, allocations: 0 / 0.5244 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.158, allocations: 375.4 kB / 0.5248 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.573e-05/0.1581, allocations: 96.94 kB / 0.5249 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.1581, allocations: 4 kB / 0.5249 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.1583, allocations: 7.938 kB / 0.5249 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.1583, allocations: 7.984 kB / 0.5249 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.1583, allocations: 8.062 kB / 0.5249 GB, free: 12.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.1585, allocations: 170 kB / 0.5251 GB, free: 12.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1585, allocations: 0 / 0.5251 GB, free: 12.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.1589, allocations: 47.98 kB / 0.5251 GB, free: 12.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007182/0.1596, allocations: 0.896 MB / 0.526 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003555/0.16, allocations: 213.7 kB / 0.5262 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.16, allocations: 0 / 0.5262 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.178e-05/0.1601, allocations: 52.8 kB / 0.5263 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005197/0.1606, allocations: 57.75 kB / 0.5263 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.1638, allocations: 2.617 MB / 0.5289 GB, free: 8.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.1642, allocations: 0.7714 MB / 0.5296 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.1644, allocations: 30.28 kB / 0.5296 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.1645, allocations: 95.33 kB / 0.5297 GB, free: 7.352 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1645, allocations: 4 kB / 0.5297 GB, free: 7.348 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.1941, allocations: 4.878 MB / 0.5345 GB, free: 2.613 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.941/10.14, allocations: 17.08 kB / 0.5345 GB, free: 2.598 MB / 398.1 MB " [Timeout remaining time 650] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000270051 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv failed! Error: Could not read variable meter.i in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv. Warning: Get data of variable meter.i from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv failed! Error: Could not read variable meter.p in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv. Warning: Get data of variable meter.p from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv failed! Error: Could not read variable meter.v in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv. Warning: Get data of variable meter.v from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.137712748954073]