Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.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.001538/0.001538, allocations: 124.5 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.001664/0.001664, allocations: 211.2 kB / 20.75 MB, free: 2.312 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.509/1.509, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.1907/0.1907, allocations: 38.51 MB / 348.7 MB, free: 2.637 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.Introductory.Frequency,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Frequency",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Frequency,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Frequency",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.001906/0.001906, allocations: 67.89 kB / 487.1 MB, free: 22.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1126, allocations: 62.43 MB / 0.5367 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.01048/0.1231, allocations: 5.489 MB / 0.542 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.1254, allocations: 1.142 MB / 0.5432 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.1256, allocations: 23.75 kB / 0.5432 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.1259, allocations: 79.22 kB / 0.5433 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007788/0.1266, allocations: 306.3 kB / 0.5435 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.1269, allocations: 143.8 kB / 0.5437 GB, free: 364 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007894/0.1277, allocations: 0.7006 MB / 0.5444 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.128, allocations: 140.7 kB / 0.5445 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004793/0.1285, allocations: 322.6 kB / 0.5448 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005092/0.129, allocations: 342.7 kB / 0.5451 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.335e-05/0.1291, allocations: 32 kB / 0.5452 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.437e-05/0.1291, allocations: 32 kB / 0.5452 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.1293, allocations: 163.5 kB / 0.5454 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.1296, allocations: 234.8 kB / 0.5456 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006757/0.1303, allocations: 0.4939 MB / 0.5461 GB, free: 13.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1303, allocations: 0 / 0.5461 GB, free: 13.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1303, allocations: 0 / 0.5461 GB, free: 13.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.1303, allocations: 0 / 0.5461 GB, free: 13.91 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00152/0.1318, allocations: 0.812 MB / 0.5469 GB, free: 13.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.1318, allocations: 8.031 kB / 0.5469 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.1319, allocations: 74.72 kB / 0.5469 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.245e-05/0.132, allocations: 56.61 kB / 0.547 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007653/0.1328, allocations: 464.3 kB / 0.5474 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.1328, allocations: 29 kB / 0.5475 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.36e-05/0.1329, allocations: 39.94 kB / 0.5475 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007078/0.1336, allocations: 463.4 kB / 0.5479 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.1336, allocations: 3.984 kB / 0.5479 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.1337, allocations: 16 kB / 0.548 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.1337, allocations: 8 kB / 0.548 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000529/0.1342, allocations: 308.6 kB / 0.5483 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.1367, allocations: 1.768 MB / 0.55 GB, free: 9.633 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.1371, allocations: 147.6 kB / 0.5501 GB, free: 9.461 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.1372, allocations: 54.56 kB / 0.5502 GB, free: 9.398 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.1372, allocations: 8.141 kB / 0.5502 GB, free: 9.391 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.1373, allocations: 46.5 kB / 0.5502 GB, free: 9.336 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.614e-06/0.1373, allocations: 0 / 0.5502 GB, free: 9.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.001446/0.1387, allocations: 0.6171 MB / 0.5508 GB, free: 8.664 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.1388, allocations: 106.8 kB / 0.5509 GB, free: 8.535 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/0.1393, allocations: 377.7 kB / 0.5513 GB, free: 8.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1394, allocations: 25.7 kB / 0.5513 GB, free: 8.129 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.1397, allocations: 284 kB / 0.5516 GB, free: 7.848 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/0.1397, allocations: 59.48 kB / 0.5516 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.1399, allocations: 69.64 kB / 0.5517 GB, free: 7.715 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.1401, allocations: 346.8 kB / 0.552 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.1402, allocations: 39.98 kB / 0.5521 GB, free: 7.328 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.1406, allocations: 201.5 kB / 0.5523 GB, free: 7.066 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005396/0.1411, allocations: 270.6 kB / 0.5525 GB, free: 6.734 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.1411, allocations: 4 kB / 0.5525 GB, free: 6.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004346/0.1416, allocations: 285 kB / 0.5528 GB, free: 6.445 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.1416, allocations: 7.984 kB / 0.5528 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.1416, allocations: 8 kB / 0.5528 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1416, allocations: 4.625 kB / 0.5528 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.1419, allocations: 75.84 kB / 0.5529 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.1419, allocations: 16.48 kB / 0.5529 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.142, allocations: 15.89 kB / 0.5529 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.1421, allocations: 12 kB / 0.5529 GB, free: 6.309 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002028/0.1423, allocations: 185.6 kB / 0.5531 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.626e-05/0.1424, allocations: 35.77 kB / 0.5532 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.1427, allocations: 172.7 kB / 0.5533 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1427, allocations: 4 kB / 0.5533 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1427, allocations: 0 / 0.5533 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.1427, allocations: 7.984 kB / 0.5533 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007297/0.1434, allocations: 0.5303 MB / 0.5538 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1434, allocations: 0 / 0.5538 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.1436, allocations: 39.92 kB / 0.5539 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1436, allocations: 4 kB / 0.5539 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1436, allocations: 0 / 0.5539 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1436, allocations: 4.438 kB / 0.5539 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1436, allocations: 3.938 kB / 0.5539 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004567/0.1441, allocations: 404.2 kB / 0.5543 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.92e-05/0.1442, allocations: 112.8 kB / 0.5544 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.1442, allocations: 8 kB / 0.5544 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.1444, allocations: 7.938 kB / 0.5544 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.1444, allocations: 16.03 kB / 0.5544 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.1444, allocations: 7.984 kB / 0.5544 GB, free: 4.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002847/0.1447, allocations: 255.2 kB / 0.5547 GB, free: 4.414 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1447, allocations: 0 / 0.5547 GB, free: 4.414 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004356/0.1452, allocations: 72 kB / 0.5547 GB, free: 4.344 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * 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 (18): * Single equations (assignments): 17 * 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.0007714/0.1459, allocations: 0.9319 MB / 0.5556 GB, free: 3.379 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.1462, allocations: 147.4 kB / 0.5558 GB, free: 3.238 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1462, allocations: 320 / 0.5558 GB, free: 3.238 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.1463, allocations: 59.86 kB / 0.5558 GB, free: 3.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006734/0.147, allocations: 88.42 kB / 0.5559 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/0.1512, allocations: 3.416 MB / 0.5593 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.1517, allocations: 0.8387 MB / 0.5601 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.1519, allocations: 55.17 kB / 0.5601 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.1521, allocations: 147.4 kB / 0.5603 GB, free: 14.39 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1521, allocations: 0 / 0.5603 GB, free: 14.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03555/0.1877, allocations: 7.087 MB / 0.5672 GB, free: 7.434 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.679/8.867, allocations: 15.75 kB / 0.5672 GB, free: 7.418 MB / 430.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 PowerSystems_latest_PowerSystems_Examples_Introductory_Frequency.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Frequency.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.csv failed! Error: Could not read variable meter1.i in file PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.csv. Warning: Get data of variable meter1.i from file PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.csv failed! Error: Could not read variable meter1.p in file PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.csv. Warning: Get data of variable meter1.p from file PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.csv failed! Error: Could not read variable meter1.v in file PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.csv. Warning: Get data of variable meter1.v from file PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.csv failed! Error: Could not read variable meter2.i in file PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.csv. Warning: Get data of variable meter2.i from file PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.csv failed! Error: Could not read variable meter2.p in file PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.csv. Warning: Get data of variable meter2.p from file PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.csv failed! Error: Could not read variable meter2.v in file PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.csv. Warning: Get data of variable meter2.v from file PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.900126649998128]