Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.001419/0.001419, 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.001484/0.001484, 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.515/1.515, 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.1909/0.1909, 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.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",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.001979/0.001979, allocations: 71.91 kB / 487.1 MB, free: 22.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.123, allocations: 62.41 MB / 0.5367 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.006386/0.1294, allocations: 4.256 MB / 0.5408 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.1311, allocations: 0.9743 MB / 0.5418 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.1313, allocations: 19.81 kB / 0.5418 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.1315, allocations: 51.48 kB / 0.5419 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005874/0.1321, allocations: 206.9 kB / 0.5421 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.1323, allocations: 99.8 kB / 0.5422 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00054/0.1329, allocations: 486.3 kB / 0.5426 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.1331, allocations: 107.6 kB / 0.5427 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003482/0.1335, allocations: 231.1 kB / 0.5429 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003841/0.1338, allocations: 267 kB / 0.5432 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.081e-05/0.1339, allocations: 28 kB / 0.5432 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.206e-05/0.134, allocations: 28 kB / 0.5432 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.1341, allocations: 123.6 kB / 0.5434 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.1343, allocations: 175.1 kB / 0.5435 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005102/0.1348, allocations: 390.3 kB / 0.5439 GB, free: 148 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1348, allocations: 0 / 0.5439 GB, free: 148 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1348, allocations: 0 / 0.5439 GB, free: 148 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1348, allocations: 3.938 kB / 0.5439 GB, free: 144 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001421/0.1362, allocations: 0.7059 MB / 0.5446 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1363, allocations: 15.97 kB / 0.5446 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.1364, allocations: 62.72 kB / 0.5447 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.1366, allocations: 56.64 kB / 0.5447 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007032/0.1373, allocations: 395.2 kB / 0.5451 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.1373, allocations: 20.56 kB / 0.5451 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.882e-05/0.1374, allocations: 27.94 kB / 0.5451 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.138, allocations: 356.8 kB / 0.5455 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.138, allocations: 11.94 kB / 0.5455 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.138, allocations: 8 kB / 0.5455 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.138, allocations: 8 kB / 0.5455 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004523/0.1385, allocations: 261.9 kB / 0.5458 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.1407, allocations: 1.446 MB / 0.5472 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.141, allocations: 145 kB / 0.5473 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.1411, allocations: 77.67 kB / 0.5474 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.1411, allocations: 4 kB / 0.5474 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.1412, allocations: 42.48 kB / 0.5474 GB, free: 12.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.194e-06/0.1412, allocations: 4 kB / 0.5474 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001273/0.1424, allocations: 0.6756 MB / 0.5481 GB, free: 11.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.1425, allocations: 85.05 kB / 0.5482 GB, free: 11.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.1428, allocations: 296.5 kB / 0.5485 GB, free: 11.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.1429, allocations: 29.7 kB / 0.5485 GB, free: 11.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.143, allocations: 220.1 kB / 0.5487 GB, free: 10.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.1431, allocations: 59.53 kB / 0.5488 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.203e-05/0.1432, allocations: 57.64 kB / 0.5488 GB, free: 10.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1433, allocations: 334.8 kB / 0.5491 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1435, allocations: 67.95 kB / 0.5492 GB, free: 10.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.1437, allocations: 173.3 kB / 0.5494 GB, free: 10.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/0.144, allocations: 255.4 kB / 0.5496 GB, free: 9.852 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.144, allocations: 8 kB / 0.5496 GB, free: 9.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005459/0.1446, allocations: 289.3 kB / 0.5499 GB, free: 9.555 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.1446, allocations: 12 kB / 0.5499 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.1446, allocations: 4 kB / 0.5499 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.1446, allocations: 4 kB / 0.5499 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.1449, allocations: 55.91 kB / 0.55 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.145, allocations: 11.98 kB / 0.55 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.1451, allocations: 8 kB / 0.55 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.1451, allocations: 19.98 kB / 0.55 GB, free: 9.441 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): 29 * 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.0002016/0.1454, allocations: 165.7 kB / 0.5502 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.1454, allocations: 31.75 kB / 0.5502 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.1458, allocations: 242.3 kB / 0.5504 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1458, allocations: 7.938 kB / 0.5504 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1458, allocations: 0 / 0.5504 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1459, allocations: 3.984 kB / 0.5504 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008307/0.1467, allocations: 0.624 MB / 0.551 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1467, allocations: 3.938 kB / 0.551 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.1469, allocations: 35.98 kB / 0.5511 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.1469, allocations: 4.031 kB / 0.5511 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1469, allocations: 7.984 kB / 0.5511 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1469, allocations: 4 kB / 0.5511 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1469, allocations: 0 / 0.5511 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005836/0.1475, allocations: 428 kB / 0.5515 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.123e-05/0.1476, allocations: 108.9 kB / 0.5516 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.1476, allocations: 8.062 kB / 0.5516 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.1478, allocations: 11.98 kB / 0.5516 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.1478, allocations: 11.98 kB / 0.5516 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1478, allocations: 7.938 kB / 0.5516 GB, free: 7.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.1481, allocations: 211.1 kB / 0.5518 GB, free: 7.441 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1481, allocations: 0 / 0.5518 GB, free: 7.441 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003595/0.1484, allocations: 60 kB / 0.5519 GB, free: 7.383 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.000931/0.1494, allocations: 0.9548 MB / 0.5528 GB, free: 6.398 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004279/0.1498, allocations: 187.1 kB / 0.553 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1498, allocations: 256 / 0.553 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.1499, allocations: 91.83 kB / 0.5531 GB, free: 6.129 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005962/0.1505, allocations: 68.55 kB / 0.5532 GB, free: 6.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/0.1541, allocations: 2.901 MB / 0.556 GB, free: 2.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.1545, allocations: 0.8065 MB / 0.5568 GB, free: 2.145 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001714/0.1547, allocations: 54.95 kB / 0.5568 GB, free: 2.094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.1548, allocations: 111.4 kB / 0.5569 GB, free: 1.984 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1549, allocations: 0 / 0.5569 GB, free: 1.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.1847, allocations: 6.051 MB / 0.5629 GB, free: 12.06 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.481/8.666, allocations: 8.047 kB / 0.5629 GB, free: 12.05 MB / 430.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadAC_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv failed! Error: Could not read variable meter.p in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv. Warning: Get data of variable meter.p from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv failed! Error: Could not read variable meter.v in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv. Warning: Get data of variable meter.v from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.811880862805992]