Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.001166/0.001166, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001299/0.001299, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9115/0.9115, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2331/0.2331, allocations: 29.4 MB / 290.1 MB, free: 2.441 MB / 266.7 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.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 3.938 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.687e-05, allocations: 6.781 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.005012/0.005029, allocations: 7.094 MB / 437.3 MB, free: 6.469 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.008229, allocations: 3.863 MB / 441.2 MB, free: 2.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.008462, allocations: 15.94 kB / 441.2 MB, free: 2.574 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.009612, allocations: 1.022 MB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.01092, allocations: 1.139 MB / 443.4 MB, free: 416 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.01133, allocations: 306.8 kB / 443.7 MB, free: 108 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1633/0.1746, allocations: 1.393 MB / 445.1 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005/0.1751, allocations: 396.3 kB / 445.4 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006069/0.1757, allocations: 0.7315 MB / 446.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004274/0.1762, allocations: 0.5957 MB / 446.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.1762, allocations: 34.19 kB / 446.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008521/0.1771, allocations: 0.8062 MB / 447.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.1772, allocations: 309.9 kB / 447.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.1773, allocations: 177.7 kB / 448.1 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006162/0.178, allocations: 0.8415 MB / 448.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.178, allocations: 0 / 448.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.178, allocations: 0 / 448.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.178, allocations: 0 / 448.9 MB, free: 42.97 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0006575/0.1786, allocations: 0.7376 MB / 449.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1787, allocations: 13.48 kB / 449.7 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.957e-05/0.1787, allocations: 82.72 kB / 449.8 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007439/0.1794, allocations: 130.5 kB / 449.9 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.1798, allocations: 279.8 kB / 450.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1798, allocations: 33.84 kB / 450.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.1798, allocations: 43.52 kB / 450.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/0.1802, allocations: 0.5862 MB / 450.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1802, allocations: 3.75 kB / 450.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.1802, allocations: 18.09 kB / 450.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/0.1803, allocations: 38.16 kB / 450.9 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.1806, allocations: 386.7 kB / 451.3 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.1817, allocations: 2.463 MB / 453.7 MB, free: 40.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.1821, allocations: 406.7 kB / 454.1 MB, free: 40.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.1822, allocations: 194.7 kB / 454.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.1823, allocations: 6.25 kB / 454.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.1823, allocations: 41.19 kB / 454.4 MB, free: 40.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.333e-06/0.1823, allocations: 3.188 kB / 454.4 MB, free: 40.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009073/0.1832, allocations: 0.6737 MB / 455 MB, free: 40.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.1832, allocations: 113.2 kB / 455.1 MB, free: 39.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.1834, allocations: 325.8 kB / 455.5 MB, free: 39.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.1834, allocations: 32.92 kB / 455.5 MB, free: 39.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.1835, allocations: 252.5 kB / 455.7 MB, free: 39.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.1835, allocations: 123 kB / 455.9 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.237e-05/0.1836, allocations: 82.95 kB / 455.9 MB, free: 39.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.166e-05/0.1836, allocations: 346.4 kB / 456.3 MB, free: 39.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.1837, allocations: 129.5 kB / 456.4 MB, free: 39.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.1839, allocations: 281 kB / 456.7 MB, free: 38.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.1842, allocations: 459 kB / 457.1 MB, free: 38.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1842, allocations: 6.562 kB / 457.1 MB, free: 38.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000444/0.1846, allocations: 0.5513 MB / 457.7 MB, free: 38.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1846, allocations: 9.5 kB / 457.7 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1846, allocations: 7.969 kB / 457.7 MB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002004/0.1848, allocations: 121.1 kB / 457.8 MB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.1849, allocations: 76.17 kB / 457.9 MB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.1862, allocations: 2.373 MB / 460.3 MB, free: 36.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.1863, allocations: 44.62 kB / 460.3 MB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.1863, allocations: 23.94 kB / 460.3 MB, free: 36.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.1864, allocations: 201.5 kB / 460.5 MB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.1864, allocations: 39.02 kB / 460.6 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.1865, allocations: 56.34 kB / 460.6 MB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1865, allocations: 3.312 kB / 460.6 MB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1865, allocations: 3.281 kB / 460.6 MB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1865, allocations: 3.516 kB / 460.6 MB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006193/0.1871, allocations: 0.8759 MB / 461.5 MB, free: 35.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1871, allocations: 3.125 kB / 461.5 MB, free: 35.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.726e-05/0.1872, allocations: 29.67 kB / 461.5 MB, free: 35.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001458/0.1873, allocations: 126.9 kB / 461.7 MB, free: 35.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1873, allocations: 4 kB / 461.7 MB, free: 35.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.1885, allocations: 2.369 MB / 464 MB, free: 34.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1885, allocations: 0 / 464 MB, free: 34.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.1888, allocations: 0.6289 MB / 464.7 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.1888, allocations: 39.92 kB / 464.7 MB, free: 33.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.1889, allocations: 11 kB / 464.7 MB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.281e-05/0.189, allocations: 10.67 kB / 464.7 MB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.189, allocations: 27.62 kB / 464.8 MB, free: 33.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.189, allocations: 13.38 kB / 464.8 MB, free: 33.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.1891, allocations: 221.4 kB / 465 MB, free: 33.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1891, allocations: 0 / 465 MB, free: 33.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003556/0.1895, allocations: 162.2 kB / 465.1 MB, free: 33.58 MB / 410.7 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 (20): * Single equations (assignments): 18 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004543/0.1899, allocations: 1.156 MB / 466.3 MB, free: 32.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004504/0.1904, allocations: 0.51 MB / 466.8 MB, free: 32.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1904, allocations: 0 / 466.8 MB, free: 32.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.1906, allocations: 331.9 kB / 467.1 MB, free: 32.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.1909, allocations: 55.25 kB / 467.2 MB, free: 32.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.1933, allocations: 3.986 MB / 471.2 MB, free: 29.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.1934, allocations: 283 kB / 471.5 MB, free: 29.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.92e-05/0.1935, allocations: 70.62 kB / 471.5 MB, free: 29.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.274e-05/0.1936, allocations: 117.8 kB / 471.6 MB, free: 29.51 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1936, allocations: 0 / 471.6 MB, free: 29.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.215, allocations: 8.497 MB / 480.1 MB, free: 28.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.33/7.545, allocations: 5.719 kB / 480.1 MB, free: 28.07 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_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_Network_NetworkLoop_d.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.Network.NetworkLoop_d_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv failed! Error: Could not read variable impedance3.i[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv. Warning: Get data of variable impedance3.i[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv failed! Error: Could not read variable impedance3.p[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv. Warning: Get data of variable impedance3.p[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv failed! Error: Could not read variable impedance3.v[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv. Warning: Get data of variable impedance3.v[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.595378595404327]