Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.001238/0.001238, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001372/0.001372, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.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.1914/0.1914, 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.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",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.002764/0.002764, allocations: 71.89 kB / 487.1 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1539, allocations: 62.41 MB / 0.5367 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.008603/0.1625, allocations: 3.485 MB / 0.5401 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004141/0.1667, allocations: 1.485 MB / 0.5415 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.1669, allocations: 15.94 kB / 0.5415 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.1683, allocations: 266.9 kB / 0.5418 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.1696, allocations: 279 kB / 0.5421 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006223/0.1702, allocations: 111.7 kB / 0.5422 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007081/0.1709, allocations: 331.1 kB / 0.5425 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004133/0.1713, allocations: 121.7 kB / 0.5426 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004639/0.1718, allocations: 159.3 kB / 0.5428 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004212/0.1722, allocations: 159.5 kB / 0.5429 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.264e-05/0.1723, allocations: 12 kB / 0.5429 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000938/0.1732, allocations: 335.1 kB / 0.5432 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.1734, allocations: 95.75 kB / 0.5433 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.1736, allocations: 115.4 kB / 0.5434 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007803/0.1744, allocations: 334.8 kB / 0.5438 GB, free: 284 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1744, allocations: 0 / 0.5438 GB, free: 284 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1744, allocations: 0 / 0.5438 GB, free: 284 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.1744, allocations: 0 / 0.5438 GB, free: 284 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001171/0.1756, allocations: 0.5215 MB / 0.5443 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.1756, allocations: 12.03 kB / 0.5443 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.1757, allocations: 54.73 kB / 0.5443 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/0.1773, allocations: 88.69 kB / 0.5444 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.1779, allocations: 268.6 kB / 0.5447 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.178, allocations: 12.38 kB / 0.5447 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.039e-05/0.1781, allocations: 23.89 kB / 0.5447 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008968/0.179, allocations: 322.2 kB / 0.545 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.179, allocations: 4 kB / 0.545 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/0.179, allocations: 4 kB / 0.545 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.885e-05/0.1791, allocations: 15.98 kB / 0.545 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008476/0.1799, allocations: 287.7 kB / 0.5453 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.1828, allocations: 1.293 MB / 0.5466 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008707/0.1837, allocations: 201.2 kB / 0.5468 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.1839, allocations: 53.69 kB / 0.5468 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.562e-05/0.1839, allocations: 11.97 kB / 0.5468 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.184, allocations: 38.56 kB / 0.5469 GB, free: 12.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 2.395e-06/0.184, allocations: 0 / 0.5469 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001615/0.1856, allocations: 443.1 kB / 0.5473 GB, free: 12.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.1857, allocations: 81.11 kB / 0.5474 GB, free: 12.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.186, allocations: 198.7 kB / 0.5476 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.186, allocations: 29.7 kB / 0.5476 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.1862, allocations: 164.1 kB / 0.5477 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.055e-05/0.1863, allocations: 51.58 kB / 0.5478 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.1864, allocations: 49.59 kB / 0.5478 GB, free: 11.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002345/0.1866, allocations: 330.8 kB / 0.5482 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.1868, allocations: 55.95 kB / 0.5482 GB, free: 11.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.1871, allocations: 152.7 kB / 0.5484 GB, free: 11.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.1876, allocations: 224.6 kB / 0.5486 GB, free: 10.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.1876, allocations: 4 kB / 0.5486 GB, free: 10.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008226/0.1884, allocations: 266.1 kB / 0.5488 GB, free: 10.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.1885, allocations: 8 kB / 0.5488 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.1885, allocations: 4 kB / 0.5488 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003491/0.1888, allocations: 40.83 kB / 0.5489 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.1891, allocations: 43.92 kB / 0.5489 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.191, allocations: 1.446 MB / 0.5503 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.1912, allocations: 8 kB / 0.5503 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.1912, allocations: 12 kB / 0.5503 GB, free: 8.953 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 (24): * Single equations (assignments): 23 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002588/0.1914, allocations: 161.6 kB / 0.5505 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/0.1915, allocations: 19.84 kB / 0.5505 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005713/0.1921, allocations: 187.9 kB / 0.5507 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1921, allocations: 64 / 0.5507 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1921, allocations: 8 kB / 0.5507 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1921, allocations: 0 / 0.5507 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.1931, allocations: 0.5562 MB / 0.5512 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.1931, allocations: 4 kB / 0.5513 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.1932, allocations: 24.02 kB / 0.5513 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001618/0.1934, allocations: 40.77 kB / 0.5513 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1934, allocations: 0 / 0.5513 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.1947, allocations: 1.426 MB / 0.5527 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1947, allocations: 4.031 kB / 0.5527 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.1951, allocations: 303.5 kB / 0.553 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.346e-05/0.1952, allocations: 93.02 kB / 0.5531 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.1952, allocations: 4 kB / 0.5531 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.1953, allocations: 7.984 kB / 0.5531 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.1954, allocations: 19.92 kB / 0.5531 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1954, allocations: 8 kB / 0.5531 GB, free: 5.816 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.1955, allocations: 140.3 kB / 0.5533 GB, free: 5.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1955, allocations: 0 / 0.5533 GB, free: 5.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003928/0.1959, allocations: 52 kB / 0.5533 GB, free: 5.629 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007996/0.1967, allocations: 0.8335 MB / 0.5541 GB, free: 4.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005279/0.1972, allocations: 259 kB / 0.5544 GB, free: 4.484 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1972, allocations: 3.938 kB / 0.5544 GB, free: 4.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.1975, allocations: 170.5 kB / 0.5545 GB, free: 4.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.1979, allocations: 42.23 kB / 0.5546 GB, free: 4.266 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.2009, allocations: 2.39 MB / 0.5569 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.2013, allocations: 0.7593 MB / 0.5577 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000118/0.2015, allocations: 37.52 kB / 0.5577 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.942e-05/0.2016, allocations: 55.41 kB / 0.5577 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2016, allocations: 4 kB / 0.5577 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03209/0.2337, allocations: 3.936 MB / 0.5616 GB, free: 12.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.35, allocations: 13.94 kB / 0.5616 GB, free: 12.97 MB / 430.1 MB " [Timeout remaining time 650] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_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_ImpedanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.ImpedanceTest_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! Error: Could not read variable load.p[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv. Warning: Get data of variable load.p[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! Error: Could not read variable load.p[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv. Warning: Get data of variable load.p[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! Error: Could not read variable load.v[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv. Warning: Get data of variable load.v[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! Error: Could not read variable load.v[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv. Warning: Get data of variable load.v[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.353958434890956]