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.0008/0.0008, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003873/0.003873, allocations: 160.4 kB / 24.69 MB, free: 9.426 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.8521/0.8521, allocations: 177.2 MB / 205 MB, free: 5.738 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.2016/0.2016, allocations: 29.41 MB / 290.8 MB, free: 2.414 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: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.017e-05, allocations: 2.281 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.005103/0.005123, allocations: 7.088 MB / 438.6 MB, free: 5.973 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002908/0.008031, allocations: 3.875 MB / 442.4 MB, free: 2.082 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.008208, allocations: 15.94 kB / 442.5 MB, free: 2.066 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.009323, allocations: 1.023 MB / 443.5 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1752/0.1846, allocations: 1.124 MB / 444.6 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007802/0.1853, allocations: 312.4 kB / 444.9 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.1865, allocations: 1.393 MB / 446.3 MB, free: 43.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005491/0.187, allocations: 402.4 kB / 446.7 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007203/0.1877, allocations: 0.7307 MB / 447.4 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005011/0.1882, allocations: 0.5977 MB / 448 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.1883, allocations: 37.69 kB / 448.1 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009443/0.1892, allocations: 0.7955 MB / 448.9 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.1894, allocations: 308.2 kB / 449.2 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.1896, allocations: 175.7 kB / 449.3 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008186/0.1904, allocations: 0.8447 MB / 450.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1904, allocations: 2 kB / 450.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1904, allocations: 0 / 450.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1904, allocations: 0 / 450.2 MB, free: 43.45 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.0007552/0.1911, allocations: 0.7393 MB / 450.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1912, allocations: 14.58 kB / 450.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008451/0.192, allocations: 129.4 kB / 451.1 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.1925, allocations: 280 kB / 451.3 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.1925, allocations: 30.91 kB / 451.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.1925, allocations: 38.47 kB / 451.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006154/0.1931, allocations: 0.5831 MB / 452 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.1932, allocations: 5.938 kB / 452 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.1932, allocations: 19.39 kB / 452 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.532e-05/0.1932, allocations: 42.92 kB / 452 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003579/0.1936, allocations: 383.8 kB / 452.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.1949, allocations: 2.401 MB / 454.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.1953, allocations: 408.5 kB / 455.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.1955, allocations: 193.6 kB / 455.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.1955, allocations: 3.719 kB / 455.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1955, allocations: 45.66 kB / 455.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.766e-06/0.1955, allocations: 0 / 455.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.001008/0.1965, allocations: 0.6667 MB / 456.1 MB, free: 40.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.1966, allocations: 106.2 kB / 456.2 MB, free: 40.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.1967, allocations: 311.7 kB / 456.5 MB, free: 40.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1968, allocations: 32.64 kB / 456.6 MB, free: 40.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.532e-05/0.1968, allocations: 256.4 kB / 456.8 MB, free: 40.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.939e-05/0.1969, allocations: 125.5 kB / 456.9 MB, free: 40.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.197, allocations: 82.2 kB / 457 MB, free: 39.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.197, allocations: 342.6 kB / 457.4 MB, free: 39.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.1971, allocations: 132.9 kB / 457.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.1973, allocations: 280.8 kB / 457.8 MB, free: 39.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.1976, allocations: 456.4 kB / 458.2 MB, free: 39.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1976, allocations: 6.938 kB / 458.2 MB, free: 39.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004632/0.1981, allocations: 0.5553 MB / 458.8 MB, free: 38.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1981, allocations: 8 kB / 458.8 MB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.1981, allocations: 6.469 kB / 458.8 MB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/0.1983, allocations: 121.7 kB / 458.9 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.1984, allocations: 75.38 kB / 459 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.1998, allocations: 2.356 MB / 461.3 MB, free: 37.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.1999, allocations: 44.36 kB / 461.4 MB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.1999, allocations: 15.62 kB / 461.4 MB, free: 37.07 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.0001224/0.2001, allocations: 207.7 kB / 461.6 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.2001, allocations: 39.48 kB / 461.6 MB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.2001, allocations: 43.83 kB / 461.7 MB, free: 36.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2001, allocations: 6.281 kB / 461.7 MB, free: 36.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.2001, allocations: 3 kB / 461.7 MB, free: 36.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2001, allocations: 3.422 kB / 461.7 MB, free: 36.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.2008, allocations: 0.8199 MB / 462.5 MB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2008, allocations: 0 / 462.5 MB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.166e-05/0.2009, allocations: 43.64 kB / 462.5 MB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001436/0.201, allocations: 104.8 kB / 462.6 MB, free: 36.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.201, allocations: 11.19 kB / 462.7 MB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.2022, allocations: 2.341 MB / 465 MB, free: 34.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2022, allocations: 3.188 kB / 465 MB, free: 34.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.2026, allocations: 0.6292 MB / 465.6 MB, free: 34.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.2026, allocations: 35.53 kB / 465.7 MB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.2026, allocations: 14.22 kB / 465.7 MB, free: 34.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.569e-05/0.2027, allocations: 7.156 kB / 465.7 MB, free: 34.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.2028, allocations: 30.5 kB / 465.7 MB, free: 34.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.2028, allocations: 9.906 kB / 465.7 MB, free: 34.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.562e-05/0.2029, allocations: 204.7 kB / 465.9 MB, free: 34.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2029, allocations: 0 / 465.9 MB, free: 34.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003956/0.2033, allocations: 164.1 kB / 466.1 MB, free: 34.04 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 9.682e-05/0.2034, allocations: 104 kB / 466.2 MB, free: 33.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005048/0.2039, allocations: 0.5046 MB / 466.7 MB, free: 33.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2039, allocations: 0 / 466.7 MB, free: 33.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.2041, allocations: 331.3 kB / 467 MB, free: 33.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.2044, allocations: 54.95 kB / 467.1 MB, free: 33.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007809/0.2052, allocations: 0.8633 MB / 467.9 MB, free: 33.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.2054, allocations: 282.5 kB / 468.2 MB, free: 32.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.2054, allocations: 24.44 kB / 468.2 MB, free: 32.92 MB / 410.7 MB Notification: Performance of SimCode: time 8.71e-07/0.2054, allocations: 0 / 468.2 MB, free: 32.92 MB / 410.7 MB Notification: Performance of Templates: time 0.005016/0.2104, allocations: 6.244 MB / 474.5 MB, free: 32.46 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.697789307683706]