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.001318/0.001318, allocations: 113.1 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.001503/0.001503, allocations: 214.7 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.1917/0.1917, allocations: 38.52 MB / 352.4 MB, free: 12.56 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.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.002029/0.002029, allocations: 67.88 kB / 492.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4108, allocations: 62.47 MB / 0.542 GB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005113/0.4159, allocations: 3.606 MB / 0.5455 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.4185, allocations: 1.59 MB / 0.5471 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.4187, allocations: 13.59 kB / 0.5471 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008543/0.4195, allocations: 256 kB / 0.5473 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006497/0.4202, allocations: 290.7 kB / 0.5476 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.4205, allocations: 122.3 kB / 0.5477 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.4209, allocations: 348.4 kB / 0.5481 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/0.4213, allocations: 123.6 kB / 0.5482 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003662/0.4216, allocations: 163.7 kB / 0.5483 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.4219, allocations: 166.5 kB / 0.5485 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.422, allocations: 19.22 kB / 0.5485 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006186/0.4226, allocations: 336.5 kB / 0.5488 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.4227, allocations: 102.7 kB / 0.5489 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.4228, allocations: 114.2 kB / 0.549 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005262/0.4234, allocations: 358.6 kB / 0.5494 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4234, allocations: 0 / 0.5494 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4234, allocations: 0 / 0.5494 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.4234, allocations: 1.188 kB / 0.5494 GB, free: 10.84 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000718/0.4241, allocations: 455.9 kB / 0.5498 GB, free: 10.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4241, allocations: 13.55 kB / 0.5498 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.383e-05/0.4242, allocations: 53.17 kB / 0.5499 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.4252, allocations: 103.7 kB / 0.55 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.4256, allocations: 221.6 kB / 0.5502 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.4256, allocations: 11.19 kB / 0.5502 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.4256, allocations: 16.81 kB / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.4262, allocations: 336.4 kB / 0.5505 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.4262, allocations: 0.875 kB / 0.5505 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.4262, allocations: 5.969 kB / 0.5505 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/0.4263, allocations: 18 kB / 0.5506 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005297/0.4268, allocations: 308.2 kB / 0.5508 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.4286, allocations: 1.229 MB / 0.552 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.4289, allocations: 152.6 kB / 0.5522 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.4291, allocations: 97.2 kB / 0.5523 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.4291, allocations: 2.188 kB / 0.5523 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.4292, allocations: 40.5 kB / 0.5523 GB, free: 8.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.4292, allocations: 0 / 0.5523 GB, free: 8.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001701/0.4309, allocations: 0.5865 MB / 0.5529 GB, free: 8.156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.4309, allocations: 87.52 kB / 0.553 GB, free: 8.055 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.4311, allocations: 197.6 kB / 0.5532 GB, free: 7.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.4312, allocations: 29.7 kB / 0.5532 GB, free: 7.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.4313, allocations: 152.4 kB / 0.5533 GB, free: 7.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/0.4313, allocations: 67.42 kB / 0.5534 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-05/0.4314, allocations: 51.38 kB / 0.5535 GB, free: 7.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4316, allocations: 326.6 kB / 0.5538 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.4317, allocations: 78.2 kB / 0.5538 GB, free: 7.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.4319, allocations: 158.8 kB / 0.554 GB, free: 7.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.4322, allocations: 252.5 kB / 0.5542 GB, free: 6.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4322, allocations: 1.062 kB / 0.5542 GB, free: 6.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006332/0.4329, allocations: 347.7 kB / 0.5546 GB, free: 6.758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4329, allocations: 10.06 kB / 0.5546 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4329, allocations: 2.031 kB / 0.5546 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004136/0.4333, allocations: 88.16 kB / 0.5547 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.4335, allocations: 42.02 kB / 0.5547 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/0.4363, allocations: 2.061 MB / 0.5567 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.4365, allocations: 13.56 kB / 0.5567 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.4365, allocations: 11.95 kB / 0.5567 GB, free: 4.879 MB / 398.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.0001975/0.4367, allocations: 162 kB / 0.5569 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.4368, allocations: 15.84 kB / 0.5569 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006604/0.4374, allocations: 324.1 kB / 0.5572 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4374, allocations: 4 kB / 0.5572 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.4374, allocations: 0 / 0.5572 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.4374, allocations: 0 / 0.5572 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.4387, allocations: 0.7143 MB / 0.5579 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.4387, allocations: 0 / 0.5579 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.4388, allocations: 27.98 kB / 0.558 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002862/0.4391, allocations: 80.72 kB / 0.558 GB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.4391, allocations: 12.06 kB / 0.558 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002289/0.4414, allocations: 1.933 MB / 0.5599 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.4414, allocations: 3.984 kB / 0.5599 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006376/0.4421, allocations: 414.7 kB / 0.5603 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.4421, allocations: 23.84 kB / 0.5603 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.4422, allocations: 7.984 kB / 0.5604 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.4423, allocations: 11.98 kB / 0.5604 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.4423, allocations: 19.91 kB / 0.5604 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.4424, allocations: 8 kB / 0.5604 GB, free: 1.004 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.4425, allocations: 147 kB / 0.5605 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4425, allocations: 0 / 0.5605 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000501/0.443, allocations: 68 kB / 0.5606 GB, free: 0.793 MB / 398.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.0009636/0.444, allocations: 0.9335 MB / 0.5615 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008266/0.4448, allocations: 374.6 kB / 0.5619 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4448, allocations: 0 / 0.5619 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004139/0.4452, allocations: 245.5 kB / 0.5621 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.4456, allocations: 40.34 kB / 0.5621 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.4491, allocations: 2.638 MB / 0.5647 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.4496, allocations: 0.7673 MB / 0.5655 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.4497, allocations: 37.61 kB / 0.5655 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.4499, allocations: 67.41 kB / 0.5656 GB, free: 11.46 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4499, allocations: 0 / 0.5656 GB, free: 11.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03779/0.4877, allocations: 5.599 MB / 0.571 GB, free: 5.977 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.87, allocations: 4 kB / 0.571 GB, free: 5.973 MB / 414.1 MB " [Timeout remaining time 647] (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.833514445999754]