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.0008006/0.0008006, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001125/0.001926, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007311/0.0007311, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008989/0.00163, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9719/0.9719, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08037/1.052, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1196/0.1196, allocations: 29.43 MB / 273.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1389/0.2585, allocations: 9.536 MB / 283 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.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: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.246e-05, allocations: 3.312 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01308/0.0131, allocations: 6.93 MB / 291.2 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006948/0.02005, allocations: 3.01 MB / 294.2 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003358/0.02038, allocations: 20.81 kB / 294.2 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004394/0.02478, allocations: 0.9213 MB / 295.1 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.02676, allocations: 1.166 MB / 296.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003656/0.03041, allocations: 307.3 kB / 296.6 MB, free: 2.328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.03187, allocations: 1.465 MB / 298.1 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000512/0.03238, allocations: 370.4 kB / 298.4 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003843/0.03623, allocations: 0.7923 MB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007409/0.03697, allocations: 0.5997 MB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.03702, allocations: 36 kB / 299.9 MB, free: 15.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.03834, allocations: 0.7746 MB / 300.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.03858, allocations: 279.3 kB / 300.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.03874, allocations: 143.8 kB / 301 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003831/0.04257, allocations: 0.6852 MB / 301.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.451e-05/0.04258, allocations: 0 / 301.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.04258, allocations: 0 / 301.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.0426, allocations: 0 / 301.7 MB, free: 13.29 MB / 298.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.0009205/0.04352, allocations: 0.8583 MB / 302.6 MB, free: 12.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.04355, allocations: 12.03 kB / 302.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.04493, allocations: 408.4 kB / 303 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/0.04825, allocations: 264.4 kB / 303.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.04827, allocations: 29.36 kB / 303.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.04831, allocations: 32.38 kB / 303.3 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006161/0.04893, allocations: 416.1 kB / 303.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.04894, allocations: 16.11 kB / 303.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.04897, allocations: 16.36 kB / 303.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/0.04903, allocations: 40.56 kB / 303.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.04922, allocations: 144.2 kB / 303.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.05065, allocations: 2.136 MB / 306.1 MB, free: 8.723 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.05098, allocations: 273.7 kB / 306.3 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.05108, allocations: 89.95 kB / 306.4 MB, free: 8.328 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.05109, allocations: 11.94 kB / 306.4 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003033/0.05413, allocations: 42.55 kB / 306.5 MB, free: 8.266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.933e-06/0.05413, allocations: 0 / 306.5 MB, free: 8.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008859/0.05501, allocations: 388.9 kB / 306.9 MB, free: 7.875 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.05506, allocations: 106.8 kB / 307 MB, free: 7.746 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.05525, allocations: 282.8 kB / 307.2 MB, free: 7.453 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.05527, allocations: 29.7 kB / 307.3 MB, free: 7.418 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/0.05535, allocations: 228.7 kB / 307.5 MB, free: 7.191 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.336e-05/0.05542, allocations: 122.9 kB / 307.6 MB, free: 7.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/0.05549, allocations: 78.16 kB / 307.7 MB, free: 6.988 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.05558, allocations: 350.7 kB / 308 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.774e-05/0.05565, allocations: 45.03 kB / 308.1 MB, free: 6.594 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.05579, allocations: 180.1 kB / 308.2 MB, free: 6.344 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.05603, allocations: 286.9 kB / 308.5 MB, free: 5.996 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.05604, allocations: 7.938 kB / 308.5 MB, free: 5.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004091/0.05645, allocations: 319 kB / 308.8 MB, free: 5.668 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.05646, allocations: 8 kB / 308.9 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.05647, allocations: 4 kB / 308.9 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/0.0567, allocations: 88.97 kB / 308.9 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.05694, allocations: 87.83 kB / 309 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.05854, allocations: 1.857 MB / 310.9 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.05868, allocations: 43.62 kB / 310.9 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.05869, allocations: 16 kB / 310.9 MB, free: 3.477 MB / 298.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 9.418e-05/0.05879, allocations: 140.5 kB / 311.1 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.05883, allocations: 35.91 kB / 311.1 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.05887, allocations: 47.14 kB / 311.2 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.05887, allocations: 4 kB / 311.2 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.05888, allocations: 8.031 kB / 311.2 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.05888, allocations: 0 / 311.2 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004927/0.05938, allocations: 0.5662 MB / 311.7 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.05938, allocations: 4 kB / 311.7 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.086e-05/0.05947, allocations: 38.42 kB / 311.8 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.0595, allocations: 43.69 kB / 311.8 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/0.05963, allocations: 90.62 kB / 311.9 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.05964, allocations: 11.94 kB / 311.9 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009714/0.06061, allocations: 1.822 MB / 313.7 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.06062, allocations: 4 kB / 313.7 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.06091, allocations: 0.5028 MB / 314.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.06093, allocations: 11.88 kB / 314.3 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.859e-05/0.06102, allocations: 7.984 kB / 314.3 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.06105, allocations: 23.95 kB / 314.3 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.06106, allocations: 16 kB / 314.3 MB, free: 15.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.079e-05/0.06113, allocations: 92.62 kB / 314.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-08/0.06113, allocations: 0 / 314.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003469/0.06147, allocations: 159.8 kB / 314.6 MB, free: 15.67 MB / 314.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 7.948e-05/0.06155, allocations: 88.36 kB / 314.6 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003354/0.06189, allocations: 361.4 kB / 315 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/0.0619, allocations: 12.19 kB / 315 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.06218, allocations: 271 kB / 315.3 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.06247, allocations: 90.47 kB / 315.4 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007279/0.06975, allocations: 0.7568 MB / 316.1 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.06986, allocations: 161.5 kB / 316.3 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.673e-05/0.06993, allocations: 26.97 kB / 316.3 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.715e-05/0.07002, allocations: 79.38 kB / 316.4 MB, free: 13.75 MB / 314.7 MB Notification: Performance of SimCode: time 1.413e-06/0.07002, allocations: 0 / 316.4 MB, free: 13.75 MB / 314.7 MB Notification: Performance of Templates: time 0.005423/0.07544, allocations: 4.019 MB / 320.4 MB, free: 9.773 MB / 314.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9144272906705737]