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.001498/0.001498, allocations: 85.33 kB / 20.68 MB, free: 1.023 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.001668/0.001668, allocations: 164 kB / 23.96 MB, free: 4.148 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.373/1.373, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 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.1713/0.1713, allocations: 29.44 MB / 290.1 MB, free: 3.285 MB / 270.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: 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.212e-06/1.212e-06, allocations: 0 / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.362e-05, allocations: 2.281 kB / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.008731/0.008754, allocations: 7.083 MB / 437.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005885/0.01464, allocations: 3.871 MB / 441.7 MB, free: 6.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004134/0.01505, allocations: 15.94 kB / 441.7 MB, free: 6.914 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002765/0.01782, allocations: 1.029 MB / 442.7 MB, free: 5.883 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.02036, allocations: 1.127 MB / 443.9 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008189/0.02117, allocations: 318.7 kB / 444.2 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.02274, allocations: 1.386 MB / 445.5 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006318/0.02337, allocations: 400 kB / 445.9 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009941/0.02437, allocations: 0.7318 MB / 446.7 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008359/0.0252, allocations: 0.5998 MB / 447.3 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.827e-05/0.02527, allocations: 36 kB / 447.3 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.0267, allocations: 0.7977 MB / 448.1 MB, free: 496 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003162/0.02702, allocations: 311.1 kB / 448.4 MB, free: 184 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002391/0.02725, allocations: 171.6 kB / 448.6 MB, free: 12 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1603/0.1875, allocations: 0.8357 MB / 449.4 MB, free: 16.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1875, allocations: 0 / 449.4 MB, free: 16.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1875, allocations: 1.156 kB / 449.4 MB, free: 16.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.1875, allocations: 3.656 kB / 449.4 MB, free: 16.72 MB / 366.1 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.0009805/0.1885, allocations: 0.7407 MB / 450.2 MB, free: 16.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1885, allocations: 9.5 kB / 450.2 MB, free: 16.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.1901, allocations: 133.3 kB / 450.3 MB, free: 16.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.1905, allocations: 283.7 kB / 450.6 MB, free: 16.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.1905, allocations: 29.86 kB / 450.6 MB, free: 16.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.1906, allocations: 42.03 kB / 450.6 MB, free: 16.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007283/0.1913, allocations: 0.5853 MB / 451.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.1913, allocations: 2.469 kB / 451.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.1914, allocations: 19.56 kB / 451.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.824e-05/0.1914, allocations: 41.84 kB / 451.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004895/0.1919, allocations: 382.5 kB / 451.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.1936, allocations: 2.392 MB / 454.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.1942, allocations: 409.9 kB / 454.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.1945, allocations: 190 kB / 454.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.1945, allocations: 3.688 kB / 454.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.1945, allocations: 41.98 kB / 454.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.1945, allocations: 0 / 454.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.001582/0.1961, allocations: 0.6698 MB / 455.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.1961, allocations: 113.4 kB / 455.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.1964, allocations: 311.6 kB / 455.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1964, allocations: 30.92 kB / 455.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.895e-05/0.1965, allocations: 259.5 kB / 456.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/0.1965, allocations: 120.6 kB / 456.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.532e-05/0.1966, allocations: 82.36 kB / 456.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.616e-05/0.1967, allocations: 345.2 kB / 456.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.1969, allocations: 133 kB / 456.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.1971, allocations: 281.6 kB / 457 MB, free: 12.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/0.1976, allocations: 455.7 kB / 457.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.1976, allocations: 2.75 kB / 457.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007718/0.1983, allocations: 0.5609 MB / 458 MB, free: 12.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1983, allocations: 8.25 kB / 458 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.1984, allocations: 4.219 kB / 458 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003151/0.1987, allocations: 116 kB / 458.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.1989, allocations: 74 kB / 458.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.2009, allocations: 2.363 MB / 460.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.2011, allocations: 38.02 kB / 460.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.2012, allocations: 17.69 kB / 460.6 MB, free: 11.2 MB / 366.1 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.0001858/0.2014, allocations: 207.1 kB / 460.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.842e-05/0.2014, allocations: 41.92 kB / 460.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.03e-05/0.2015, allocations: 46.31 kB / 460.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2015, allocations: 8.188 kB / 460.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.2015, allocations: 4.109 kB / 460.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.2015, allocations: 3.453 kB / 460.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.2026, allocations: 0.8209 MB / 461.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2026, allocations: 1.656 kB / 461.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.2027, allocations: 34.08 kB / 461.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002314/0.203, allocations: 106.9 kB / 461.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.203, allocations: 11.72 kB / 461.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/0.2049, allocations: 2.345 MB / 464.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2049, allocations: 1.922 kB / 464.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006254/0.2055, allocations: 0.6279 MB / 464.9 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.2056, allocations: 35.7 kB / 464.9 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.2056, allocations: 6.469 kB / 464.9 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.2058, allocations: 7.453 kB / 464.9 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.2059, allocations: 25.06 kB / 464.9 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.2059, allocations: 11.61 kB / 465 MB, free: 8.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.206, allocations: 202.5 kB / 465.2 MB, free: 8.676 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.206, allocations: 1.125 kB / 465.2 MB, free: 8.676 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006376/0.2067, allocations: 160.6 kB / 465.3 MB, free: 8.648 MB / 366.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 (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 8.929e-05/0.2068, allocations: 111.1 kB / 465.4 MB, free: 8.551 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007248/0.2075, allocations: 0.5099 MB / 465.9 MB, free: 8.312 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2075, allocations: 0 / 465.9 MB, free: 8.312 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003785/0.2079, allocations: 328.6 kB / 466.2 MB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.2084, allocations: 56.31 kB / 466.3 MB, free: 8.105 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.2094, allocations: 0.8016 MB / 467.1 MB, free: 7.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.2097, allocations: 283.2 kB / 467.4 MB, free: 7.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.2098, allocations: 68.59 kB / 467.4 MB, free: 7.562 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.2099, allocations: 23.19 kB / 467.5 MB, free: 7.555 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2099, allocations: 0 / 467.5 MB, free: 7.555 MB / 366.1 MB Notification: Performance of Templates: time 0.007661/0.2176, allocations: 3.63 MB / 471.1 MB, free: 7.145 MB / 366.1 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.513056743890047]