Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.00158/0.00158, allocations: 124.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.0019/0.0019, allocations: 203.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.539/1.539, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.1845/0.1845, allocations: 38.52 MB / 348.7 MB, free: 2.66 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.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest",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.002006/0.002006, allocations: 67.89 kB / 487.1 MB, free: 22.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1071, allocations: 62.4 MB / 0.5367 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004973/0.1121, allocations: 3.513 MB / 0.5401 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002392/0.1144, allocations: 1.578 MB / 0.5416 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1146, allocations: 11.94 kB / 0.5417 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008362/0.1154, allocations: 262.9 kB / 0.5419 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006432/0.1161, allocations: 279 kB / 0.5422 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.1164, allocations: 127.6 kB / 0.5423 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.1168, allocations: 342.9 kB / 0.5426 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002637/0.1171, allocations: 117.7 kB / 0.5427 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.1174, allocations: 163.4 kB / 0.5429 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.1176, allocations: 167.4 kB / 0.543 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.1176, allocations: 16 kB / 0.5431 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005285/0.1182, allocations: 335.2 kB / 0.5434 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.1183, allocations: 111.6 kB / 0.5435 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.1184, allocations: 107.5 kB / 0.5436 GB, free: 484 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005349/0.119, allocations: 362.7 kB / 0.5439 GB, free: 120 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.119, allocations: 0 / 0.5439 GB, free: 120 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.119, allocations: 0 / 0.5439 GB, free: 120 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.119, allocations: 0 / 0.5439 GB, free: 120 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008826/0.1199, allocations: 0.5216 MB / 0.5444 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.1199, allocations: 12.03 kB / 0.5445 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.864e-05/0.12, allocations: 50.73 kB / 0.5445 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.1211, allocations: 100.7 kB / 0.5446 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.1215, allocations: 279.8 kB / 0.5449 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1215, allocations: 12.38 kB / 0.5449 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.1215, allocations: 20.31 kB / 0.5449 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005509/0.1221, allocations: 333.8 kB / 0.5452 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1221, allocations: 3.938 kB / 0.5452 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.1221, allocations: 12 kB / 0.5452 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/0.1222, allocations: 23.86 kB / 0.5453 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005675/0.1227, allocations: 311.7 kB / 0.5456 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.1245, allocations: 1.248 MB / 0.5468 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.1249, allocations: 149 kB / 0.5469 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.125, allocations: 93.73 kB / 0.547 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.125, allocations: 15.95 kB / 0.547 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1251, allocations: 34.56 kB / 0.5471 GB, free: 12.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.783e-06/0.1251, allocations: 4 kB / 0.5471 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.001678/0.1268, allocations: 0.6569 MB / 0.5477 GB, free: 12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.1268, allocations: 89.05 kB / 0.5478 GB, free: 11.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.127, allocations: 198.2 kB / 0.548 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.1271, allocations: 29.7 kB / 0.548 GB, free: 11.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1272, allocations: 152.2 kB / 0.5481 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.1272, allocations: 59.48 kB / 0.5482 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.691e-05/0.1273, allocations: 49.66 kB / 0.5482 GB, free: 11.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1275, allocations: 334.9 kB / 0.5486 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1276, allocations: 79.95 kB / 0.5486 GB, free: 10.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.1278, allocations: 152.4 kB / 0.5488 GB, free: 10.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.1282, allocations: 263.4 kB / 0.549 GB, free: 10.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1282, allocations: 7.938 kB / 0.549 GB, free: 10.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006771/0.1288, allocations: 341.9 kB / 0.5494 GB, free: 10.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1289, allocations: 8 kB / 0.5494 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1289, allocations: 0 / 0.5494 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003991/0.1293, allocations: 97.05 kB / 0.5495 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.1294, allocations: 35.98 kB / 0.5495 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/0.1321, allocations: 2.169 MB / 0.5516 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.1323, allocations: 20 kB / 0.5516 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.1323, allocations: 12.03 kB / 0.5517 GB, free: 7.672 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 20 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001968/0.1325, allocations: 168.4 kB / 0.5518 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.1325, allocations: 19.86 kB / 0.5518 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000667/0.1332, allocations: 315 kB / 0.5521 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1332, allocations: 0 / 0.5521 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1332, allocations: 8 kB / 0.5521 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1332, allocations: 0 / 0.5521 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.1344, allocations: 0.7348 MB / 0.5529 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1344, allocations: 0 / 0.5529 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.1346, allocations: 31.92 kB / 0.5529 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002936/0.1349, allocations: 84.97 kB / 0.553 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.1349, allocations: 7.984 kB / 0.553 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002356/0.1372, allocations: 2.033 MB / 0.555 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.1372, allocations: 3.984 kB / 0.555 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006667/0.1379, allocations: 405.5 kB / 0.5554 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.5e-05/0.138, allocations: 108.9 kB / 0.5555 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.138, allocations: 4 kB / 0.5555 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.1382, allocations: 8 kB / 0.5555 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.1382, allocations: 15.97 kB / 0.5555 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.1382, allocations: 4 kB / 0.5555 GB, free: 3.477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.1384, allocations: 144.3 kB / 0.5556 GB, free: 3.336 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1384, allocations: 0 / 0.5556 GB, free: 3.336 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004838/0.1389, allocations: 64 kB / 0.5557 GB, free: 3.273 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 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): 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/0.1399, allocations: 0.9419 MB / 0.5566 GB, free: 2.289 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008265/0.1407, allocations: 380.8 kB / 0.557 GB, free: 1.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1407, allocations: 0 / 0.557 GB, free: 1.906 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.1412, allocations: 247.2 kB / 0.5572 GB, free: 1.652 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1415, allocations: 39.47 kB / 0.5572 GB, free: 1.617 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.1451, allocations: 2.648 MB / 0.5598 GB, free: 14.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.1455, allocations: 0.7712 MB / 0.5606 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.1457, allocations: 37.64 kB / 0.5606 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.1458, allocations: 67.41 kB / 0.5607 GB, free: 13.91 MB / 430.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1458, allocations: 0 / 0.5607 GB, free: 13.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.1783, allocations: 5.376 MB / 0.5659 GB, free: 8.656 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.3, allocations: 8 kB / 0.5659 GB, free: 8.648 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_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_Generic_Test_FixedLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv failed! Error: Could not read variable line.p[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv. Warning: Get data of variable line.p[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv failed! Error: Could not read variable line.p[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv. Warning: Get data of variable line.p[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv failed! Error: Could not read variable line.v[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv. Warning: Get data of variable line.v[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.323571665678173]