Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.001398/0.001398, allocations: 123 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.001643/0.001643, 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.616/1.616, 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.2134/0.2134, allocations: 38.51 MB / 348.7 MB, free: 2.652 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.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",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: 67.89 kB / 487.1 MB, free: 22.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1126, allocations: 62.41 MB / 0.5367 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006652/0.1192, allocations: 4.763 MB / 0.5413 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.1218, allocations: 1.379 MB / 0.5427 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.1219, allocations: 19.81 kB / 0.5427 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.1232, allocations: 422.2 kB / 0.5431 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005729/0.1237, allocations: 234.8 kB / 0.5433 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.1242, allocations: 179.6 kB / 0.5435 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006865/0.1249, allocations: 0.549 MB / 0.544 GB, free: 124 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004878/0.1254, allocations: 273.8 kB / 0.5443 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004146/0.1258, allocations: 266.9 kB / 0.5445 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/0.1263, allocations: 299 kB / 0.5448 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.847e-05/0.1263, allocations: 32 kB / 0.5449 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.1266, allocations: 131.8 kB / 0.545 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002071/0.1268, allocations: 187.4 kB / 0.5452 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002504/0.1271, allocations: 230.9 kB / 0.5454 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006636/0.1277, allocations: 0.5213 MB / 0.5459 GB, free: 14.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1278, allocations: 4 kB / 0.5459 GB, free: 14.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1278, allocations: 0 / 0.5459 GB, free: 14.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.1278, allocations: 0 / 0.5459 GB, free: 14.2 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001241/0.129, allocations: 0.7335 MB / 0.5466 GB, free: 13.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.129, allocations: 12.02 kB / 0.5466 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.441e-05/0.1291, allocations: 74.72 kB / 0.5467 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007195/0.1299, allocations: 88.59 kB / 0.5468 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007321/0.1306, allocations: 420.3 kB / 0.5472 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.1306, allocations: 29.31 kB / 0.5472 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.1308, allocations: 43.94 kB / 0.5473 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007605/0.1315, allocations: 480.8 kB / 0.5477 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.1315, allocations: 0 / 0.5477 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.1316, allocations: 16 kB / 0.5477 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/0.1317, allocations: 24.98 kB / 0.5477 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006003/0.1323, allocations: 351.7 kB / 0.5481 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.1346, allocations: 1.618 MB / 0.5497 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.135, allocations: 165.1 kB / 0.5498 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.1352, allocations: 105.7 kB / 0.5499 GB, free: 9.836 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1352, allocations: 11.92 kB / 0.5499 GB, free: 9.824 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.1352, allocations: 38.5 kB / 0.55 GB, free: 9.777 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.1352, allocations: 0 / 0.55 GB, free: 9.777 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001425/0.1366, allocations: 0.7913 MB / 0.5507 GB, free: 8.938 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.1367, allocations: 89.23 kB / 0.5508 GB, free: 8.832 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.137, allocations: 304.5 kB / 0.5511 GB, free: 8.523 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.1371, allocations: 29.7 kB / 0.5511 GB, free: 8.488 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.1373, allocations: 264 kB / 0.5514 GB, free: 8.223 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.1373, allocations: 67.39 kB / 0.5515 GB, free: 8.156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.1374, allocations: 69.62 kB / 0.5515 GB, free: 8.082 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1376, allocations: 346.8 kB / 0.5519 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.1378, allocations: 91.95 kB / 0.5519 GB, free: 7.645 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.1381, allocations: 192.8 kB / 0.5521 GB, free: 7.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.1386, allocations: 336.4 kB / 0.5525 GB, free: 7.035 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1386, allocations: 4 kB / 0.5525 GB, free: 7.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008694/0.1394, allocations: 420.6 kB / 0.5529 GB, free: 6.613 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1394, allocations: 11.92 kB / 0.5529 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005493/0.14, allocations: 260.3 kB / 0.5531 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003744/0.1404, allocations: 89.16 kB / 0.5532 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.1406, allocations: 63.89 kB / 0.5533 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.1425, allocations: 1.715 MB / 0.5549 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.1427, allocations: 12 kB / 0.5549 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.1427, allocations: 12 kB / 0.555 GB, free: 4.312 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 (34): * Single equations (assignments): 33 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002382/0.143, allocations: 197.7 kB / 0.5551 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.565e-05/0.143, allocations: 31.81 kB / 0.5552 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.1435, allocations: 271.4 kB / 0.5554 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.1435, allocations: 4 kB / 0.5554 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.1435, allocations: 0 / 0.5554 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1435, allocations: 3.938 kB / 0.5554 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.1448, allocations: 0.7537 MB / 0.5562 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1448, allocations: 0 / 0.5562 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.1451, allocations: 55.91 kB / 0.5562 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1451, allocations: 4 kB / 0.5562 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.1451, allocations: 3.938 kB / 0.5562 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1451, allocations: 4 kB / 0.5562 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1451, allocations: 0 / 0.5562 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006281/0.1457, allocations: 469.5 kB / 0.5567 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.249e-05/0.1458, allocations: 104.9 kB / 0.5568 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.1459, allocations: 11.94 kB / 0.5568 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.146, allocations: 8.266 kB / 0.5568 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.1461, allocations: 15.98 kB / 0.5568 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.1461, allocations: 11.94 kB / 0.5568 GB, free: 2.258 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002612/0.1463, allocations: 223 kB / 0.5571 GB, free: 2.043 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1463, allocations: 0 / 0.5571 GB, free: 2.043 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004293/0.1468, allocations: 84 kB / 0.5571 GB, free: 1.961 MB / 414.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 (23): * Single equations (assignments): 22 * 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.0009269/0.1477, allocations: 0.9907 MB / 0.5581 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007229/0.1484, allocations: 370.3 kB / 0.5585 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1484, allocations: 0.875 kB / 0.5585 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.1486, allocations: 99.83 kB / 0.5586 GB, free: 476 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.1491, allocations: 61.59 kB / 0.5586 GB, free: 416 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005129/0.1543, allocations: 3.539 MB / 0.5621 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.1548, allocations: 0.8537 MB / 0.5629 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002156/0.155, allocations: 74.91 kB / 0.563 GB, free: 11.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.1552, allocations: 131.4 kB / 0.5631 GB, free: 11.59 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1552, allocations: 0 / 0.5631 GB, free: 11.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03595/0.1912, allocations: 7.271 MB / 0.5702 GB, free: 4.484 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.65, allocations: 7.922 kB / 0.5702 GB, free: 4.477 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.Transmission.PowerTransfer_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv failed! Error: Could not read variable sensor.p[1] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv. Warning: Get data of variable sensor.p[1] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv failed! Error: Could not read variable sensor.p[2] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv. Warning: Get data of variable sensor.p[2] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv failed! Error: Could not read variable sensor.p[3] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv. Warning: Get data of variable sensor.p[3] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.959083349909633]