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.001714/0.001714, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002238/0.002238, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1874/0.1874, allocations: 38.52 MB / 352.4 MB, free: 12.54 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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.002052/0.002052, allocations: 71.03 kB / 492.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3096, allocations: 62.47 MB / 0.542 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006711/0.3164, allocations: 4.879 MB / 0.5468 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.3188, allocations: 1.387 MB / 0.5481 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.3191, allocations: 21.16 kB / 0.5481 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.3203, allocations: 414.5 kB / 0.5485 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006489/0.3209, allocations: 237.3 kB / 0.5488 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005918/0.3215, allocations: 185.2 kB / 0.5489 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000674/0.3222, allocations: 0.5547 MB / 0.5495 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004449/0.3226, allocations: 266.2 kB / 0.5497 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004217/0.3231, allocations: 260.3 kB / 0.55 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004713/0.3235, allocations: 300.2 kB / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.3236, allocations: 31.53 kB / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.3239, allocations: 137.8 kB / 0.5504 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.3241, allocations: 198.7 kB / 0.5506 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.3243, allocations: 230.9 kB / 0.5508 GB, free: 9.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000648/0.325, allocations: 0.5213 MB / 0.5513 GB, free: 9.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.325, allocations: 1.094 kB / 0.5513 GB, free: 9.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.325, allocations: 0 / 0.5513 GB, free: 9.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.325, allocations: 0 / 0.5513 GB, free: 9.336 MB / 398.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.001184/0.3262, allocations: 0.6579 MB / 0.552 GB, free: 8.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3262, allocations: 18.23 kB / 0.552 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001707/0.3264, allocations: 75.84 kB / 0.5521 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007465/0.3271, allocations: 89.45 kB / 0.5522 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007299/0.3279, allocations: 356.6 kB / 0.5525 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.3279, allocations: 28.38 kB / 0.5525 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.328, allocations: 47.05 kB / 0.5526 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007431/0.3288, allocations: 481.7 kB / 0.553 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.3288, allocations: 1.219 kB / 0.553 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.3288, allocations: 15.28 kB / 0.5531 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.3289, allocations: 25.11 kB / 0.5531 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005639/0.3295, allocations: 341.1 kB / 0.5534 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.3319, allocations: 1.562 MB / 0.5549 GB, free: 6.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.3323, allocations: 165.6 kB / 0.5551 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.3324, allocations: 102.1 kB / 0.5552 GB, free: 6.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.3325, allocations: 1.281 kB / 0.5552 GB, free: 6.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.3325, allocations: 44.77 kB / 0.5552 GB, free: 6.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.723e-06/0.3325, allocations: 0 / 0.5552 GB, free: 6.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001406/0.3339, allocations: 0.7151 MB / 0.5559 GB, free: 5.895 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.334, allocations: 79.52 kB / 0.556 GB, free: 5.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.3343, allocations: 312.8 kB / 0.5563 GB, free: 5.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.3343, allocations: 33.83 kB / 0.5563 GB, free: 5.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.3345, allocations: 256.1 kB / 0.5566 GB, free: 5.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.818e-05/0.3346, allocations: 79.3 kB / 0.5567 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.3347, allocations: 61.66 kB / 0.5567 GB, free: 5.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3349, allocations: 346.8 kB / 0.557 GB, free: 4.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.3351, allocations: 91.95 kB / 0.5571 GB, free: 4.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.3353, allocations: 200.8 kB / 0.5573 GB, free: 4.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/0.3358, allocations: 332.4 kB / 0.5576 GB, free: 4.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3358, allocations: 4 kB / 0.5576 GB, free: 4.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008418/0.3366, allocations: 424.3 kB / 0.558 GB, free: 3.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.3366, allocations: 8 kB / 0.5581 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005237/0.3372, allocations: 260.2 kB / 0.5583 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/0.3375, allocations: 84.72 kB / 0.5584 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.3378, allocations: 68.02 kB / 0.5584 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.3397, allocations: 1.611 MB / 0.56 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.3399, allocations: 8 kB / 0.56 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.3399, allocations: 16 kB / 0.56 GB, free: 1.492 MB / 398.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.0002443/0.3402, allocations: 193.7 kB / 0.5602 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.3402, allocations: 27.81 kB / 0.5603 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000465/0.3407, allocations: 271.5 kB / 0.5605 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.3407, allocations: 8.062 kB / 0.5605 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.3407, allocations: 0 / 0.5605 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3407, allocations: 0 / 0.5605 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.3419, allocations: 0.7254 MB / 0.5612 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3419, allocations: 4 kB / 0.5612 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.3422, allocations: 51.92 kB / 0.5613 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3422, allocations: 4.062 kB / 0.5613 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.3423, allocations: 15.92 kB / 0.5613 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.3423, allocations: 4 kB / 0.5613 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3423, allocations: 0 / 0.5613 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006343/0.3429, allocations: 463.8 kB / 0.5617 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.343, allocations: 35.83 kB / 0.5618 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.343, allocations: 8 kB / 0.5618 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.3432, allocations: 15.86 kB / 0.5618 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.3432, allocations: 11.98 kB / 0.5618 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.3432, allocations: 7.984 kB / 0.5618 GB, free: 15.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002376/0.3434, allocations: 219.1 kB / 0.562 GB, free: 15.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3434, allocations: 0 / 0.562 GB, free: 15.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004404/0.3439, allocations: 84 kB / 0.5621 GB, free: 15.28 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.0009137/0.3448, allocations: 0.9878 MB / 0.5631 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006709/0.3455, allocations: 370.4 kB / 0.5634 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3455, allocations: 0 / 0.5634 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.3456, allocations: 91.89 kB / 0.5635 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.3461, allocations: 70.39 kB / 0.5636 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004824/0.3509, allocations: 3.551 MB / 0.5671 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/0.3515, allocations: 0.8459 MB / 0.5679 GB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002079/0.3517, allocations: 70.91 kB / 0.5679 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.3519, allocations: 139.4 kB / 0.5681 GB, free: 8.91 MB / 414.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3519, allocations: 0 / 0.5681 GB, free: 8.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04874/0.4006, allocations: 7.516 MB / 0.5754 GB, free: 1.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.06, allocations: 22.56 kB / 0.5754 GB, free: 1.516 MB / 414.1 MB " [Timeout remaining time 648] (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: 15.08729470000253]