Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.001716/0.001716, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.00197/0.00197, allocations: 204.3 kB / 20.74 MB, free: 2.316 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.5/1.5, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.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.1841/0.1841, allocations: 38.51 MB / 348.7 MB, free: 2.734 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.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(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 63.89 kB / 487.2 MB, free: 22.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1179, allocations: 62.41 MB / 0.5367 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006608/0.1245, allocations: 4.642 MB / 0.5412 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.1267, allocations: 1.367 MB / 0.5426 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.1269, allocations: 19.81 kB / 0.5426 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.128, allocations: 401.1 kB / 0.543 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005311/0.1286, allocations: 254.8 kB / 0.5432 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.129, allocations: 171.5 kB / 0.5434 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006442/0.1296, allocations: 0.5685 MB / 0.5439 GB, free: 140 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003882/0.13, allocations: 233.2 kB / 0.5441 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004161/0.1304, allocations: 274.9 kB / 0.5444 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004301/0.1309, allocations: 295 kB / 0.5447 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.945e-05/0.1309, allocations: 28 kB / 0.5447 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000254/0.1312, allocations: 135.7 kB / 0.5448 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.1314, allocations: 183.5 kB / 0.545 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.1316, allocations: 222.9 kB / 0.5452 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007181/0.1323, allocations: 0.5059 MB / 0.5457 GB, free: 14.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1323, allocations: 0 / 0.5457 GB, free: 14.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1323, allocations: 0 / 0.5457 GB, free: 14.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.1324, allocations: 4 kB / 0.5457 GB, free: 14.28 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001209/0.1336, allocations: 0.7102 MB / 0.5464 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1336, allocations: 12.03 kB / 0.5464 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.212e-05/0.1337, allocations: 74.66 kB / 0.5465 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006252/0.1343, allocations: 96.55 kB / 0.5466 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007233/0.135, allocations: 407.5 kB / 0.547 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.1351, allocations: 33.36 kB / 0.547 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.1352, allocations: 47.92 kB / 0.5471 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/0.136, allocations: 476.8 kB / 0.5475 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.136, allocations: 4 kB / 0.5475 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.136, allocations: 8 kB / 0.5475 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.1361, allocations: 28.98 kB / 0.5476 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005586/0.1367, allocations: 343.7 kB / 0.5479 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.1391, allocations: 1.691 MB / 0.5495 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.1394, allocations: 149.1 kB / 0.5497 GB, free: 9.973 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.1395, allocations: 97.67 kB / 0.5498 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.1396, allocations: 288 / 0.5498 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.1396, allocations: 42.5 kB / 0.5498 GB, free: 9.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.1396, allocations: 3.938 kB / 0.5498 GB, free: 9.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001579/0.1412, allocations: 0.8601 MB / 0.5507 GB, free: 8.883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.1412, allocations: 85.05 kB / 0.5507 GB, free: 8.781 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003859/0.1416, allocations: 304.5 kB / 0.551 GB, free: 8.469 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.1417, allocations: 29.7 kB / 0.5511 GB, free: 8.434 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.1419, allocations: 256 kB / 0.5513 GB, free: 8.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.883e-05/0.1419, allocations: 67.55 kB / 0.5514 GB, free: 8.113 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.142, allocations: 61.98 kB / 0.5514 GB, free: 8.043 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1422, allocations: 350.7 kB / 0.5518 GB, free: 7.691 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.1424, allocations: 88.23 kB / 0.5518 GB, free: 7.605 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.1426, allocations: 193.4 kB / 0.552 GB, free: 7.371 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/0.143, allocations: 316.6 kB / 0.5523 GB, free: 7.016 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.143, allocations: 3.938 kB / 0.5523 GB, free: 7.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008692/0.1439, allocations: 444.5 kB / 0.5528 GB, free: 6.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1439, allocations: 8 kB / 0.5528 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005958/0.1445, allocations: 295.5 kB / 0.553 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004758/0.145, allocations: 128.9 kB / 0.5532 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.1452, allocations: 55.91 kB / 0.5532 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002988/0.1482, allocations: 2.369 MB / 0.5555 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.1484, allocations: 15.92 kB / 0.5555 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.1484, allocations: 19.94 kB / 0.5556 GB, free: 3.551 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002531/0.1487, allocations: 185.7 kB / 0.5557 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.1487, allocations: 35.75 kB / 0.5558 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/0.1492, allocations: 248.2 kB / 0.556 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.1492, allocations: 7.938 kB / 0.556 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1492, allocations: 4 kB / 0.556 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1492, allocations: 0 / 0.556 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.1504, allocations: 0.7272 MB / 0.5567 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1504, allocations: 0 / 0.5567 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.1506, allocations: 36.05 kB / 0.5568 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/0.1507, allocations: 36.83 kB / 0.5568 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.1507, allocations: 4 kB / 0.5568 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.1521, allocations: 1.592 MB / 0.5584 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1521, allocations: 3.984 kB / 0.5584 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.1527, allocations: 418.7 kB / 0.5588 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.997e-05/0.1528, allocations: 108.9 kB / 0.5589 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.1528, allocations: 8 kB / 0.5589 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.153, allocations: 4 kB / 0.5589 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.153, allocations: 19.98 kB / 0.5589 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.153, allocations: 11.98 kB / 0.5589 GB, free: 15.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002236/0.1533, allocations: 215 kB / 0.5591 GB, free: 15.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1533, allocations: 0 / 0.5591 GB, free: 15.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004767/0.1537, allocations: 88 kB / 0.5592 GB, free: 15.55 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009028/0.1547, allocations: 0.9642 MB / 0.5601 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007558/0.1554, allocations: 390.5 kB / 0.5605 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1554, allocations: 0 / 0.5605 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.1558, allocations: 225.8 kB / 0.5607 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.1562, allocations: 65.95 kB / 0.5608 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004851/0.1611, allocations: 3.499 MB / 0.5642 GB, free: 10.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/0.1616, allocations: 0.8496 MB / 0.565 GB, free: 9.293 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001769/0.1618, allocations: 58.94 kB / 0.5651 GB, free: 9.238 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.162, allocations: 127.4 kB / 0.5652 GB, free: 9.113 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.162, allocations: 0 / 0.5652 GB, free: 9.113 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04834/0.2103, allocations: 7.548 MB / 0.5726 GB, free: 1.723 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.57, allocations: 11.98 kB / 0.5726 GB, free: 1.711 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv failed! Error: Could not read variable sensor.p[1] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv. Warning: Get data of variable sensor.p[1] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv failed! Error: Could not read variable sensor.p[2] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv. Warning: Get data of variable sensor.p[2] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv failed! Error: Could not read variable sensor.p[3] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv. Warning: Get data of variable sensor.p[3] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.616007579956204]