Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.0007803/0.0007803, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009525/0.001733, 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.0006961/0.0006961, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008529/0.001549, 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.9882/0.9882, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1001/1.088, 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.11/0.11, allocations: 29.43 MB / 273.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1298/0.2398, allocations: 9.532 MB / 283 MB, free: 12.85 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.NetworkOpened,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.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,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.NetworkOpened") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 1.344 kB / 284.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.273e-05, allocations: 2.312 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.009183/0.009206, allocations: 7.075 MB / 291.3 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005287/0.01449, allocations: 3.495 MB / 294.8 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004552/0.01495, allocations: 17.84 kB / 294.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.01663, allocations: 0.982 MB / 295.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002659/0.01929, allocations: 1.325 MB / 297.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008544/0.02014, allocations: 362.7 kB / 297.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001697/0.02184, allocations: 1.558 MB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000715/0.02255, allocations: 0.531 MB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.02373, allocations: 0.9054 MB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.02497, allocations: 0.7205 MB / 301.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.02509, allocations: 72 kB / 301.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.02723, allocations: 1.211 MB / 302.5 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004814/0.02771, allocations: 0.5184 MB / 303 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003832/0.0281, allocations: 279.5 kB / 303.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002111/0.03021, allocations: 1.262 MB / 304.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.765e-05/0.03022, allocations: 0 / 304.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.03023, allocations: 0 / 304.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.92e-05/0.03026, allocations: 0 / 304.5 MB, free: 10.47 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001846/0.0321, allocations: 1.337 MB / 305.9 MB, free: 9.109 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.03214, allocations: 8.031 kB / 305.9 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002831/0.03497, allocations: 0.6105 MB / 306.5 MB, free: 8.473 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007046/0.03568, allocations: 392.9 kB / 306.9 MB, free: 8.062 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/0.03573, allocations: 54.36 kB / 306.9 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.03586, allocations: 80.3 kB / 307 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.03692, allocations: 0.6595 MB / 307.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.03694, allocations: 4.141 kB / 307.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/0.03703, allocations: 32.36 kB / 307.7 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/0.03714, allocations: 89.81 kB / 307.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007822/0.03792, allocations: 364.5 kB / 308.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003688/0.04161, allocations: 2.253 MB / 310.4 MB, free: 4.441 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.04272, allocations: 0.5865 MB / 311 MB, free: 3.828 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/0.04306, allocations: 207.5 kB / 311.2 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.074e-05/0.04312, allocations: 20.98 kB / 311.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.04316, allocations: 51.56 kB / 311.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of pre-optimization done (n=92): time 3.056e-06/0.04316, allocations: 0 / 311.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=93): time 0.002794/0.04596, allocations: 1.446 MB / 312.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.04599, allocations: 90.23 kB / 312.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.04617, allocations: 319.2 kB / 313.1 MB, free: 1.656 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.04621, allocations: 41.7 kB / 313.1 MB, free: 1.609 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.04631, allocations: 305.4 kB / 313.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.04647, allocations: 325.1 kB / 313.8 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.04662, allocations: 154.5 kB / 313.9 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.04673, allocations: 374.6 kB / 314.3 MB, free: 460 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.04688, allocations: 116.8 kB / 314.4 MB, free: 340 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.04708, allocations: 236.3 kB / 314.6 MB, free: 72 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004235/0.0475, allocations: 450.6 kB / 315.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.04751, allocations: 0 / 315.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0007835/0.04829, allocations: 0.6264 MB / 315.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.04831, allocations: 8 kB / 315.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.04832, allocations: 0 / 315.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005044/0.04883, allocations: 227.4 kB / 315.9 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.04931, allocations: 210.1 kB / 316.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/0.05173, allocations: 2.438 MB / 318.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.05194, allocations: 20 kB / 318.6 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/0.05198, allocations: 27.98 kB / 318.6 MB, free: 11.94 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.05213, allocations: 156.5 kB / 318.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.669e-05/0.05221, allocations: 71.97 kB / 318.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007957/0.053, allocations: 0.6929 MB / 319.5 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.05301, allocations: 12 kB / 319.5 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.05301, allocations: 4 kB / 319.5 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.05302, allocations: 7.984 kB / 319.5 MB, free: 10.98 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.05478, allocations: 1.526 MB / 321.1 MB, free: 9.367 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.05479, allocations: 4 kB / 321.1 MB, free: 9.363 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003552/0.05514, allocations: 183.7 kB / 321.3 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/0.0552, allocations: 63.55 kB / 321.3 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000387/0.05559, allocations: 204.1 kB / 321.5 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/0.05564, allocations: 20 kB / 321.5 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.05749, allocations: 2.388 MB / 323.9 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.05749, allocations: 7.938 kB / 323.9 MB, free: 6.398 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008331/0.05832, allocations: 0.8816 MB / 324.8 MB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.05838, allocations: 28 kB / 324.8 MB, free: 5.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.05856, allocations: 20 kB / 324.9 MB, free: 5.391 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.634e-05/0.05866, allocations: 88.72 kB / 325 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.05869, allocations: 23.98 kB / 325 MB, free: 5.281 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.375e-05/0.05878, allocations: 124.7 kB / 325.1 MB, free: 5.156 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05878, allocations: 0 / 325.1 MB, free: 5.156 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005639/0.05934, allocations: 316 kB / 325.4 MB, free: 4.848 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * 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 {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001153/0.05945, allocations: 108.2 kB / 325.5 MB, free: 4.734 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009812/0.06044, allocations: 0.7145 MB / 326.2 MB, free: 4.004 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-05/0.06046, allocations: 8.625 kB / 326.2 MB, free: 3.996 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004452/0.0609, allocations: 0.5258 MB / 326.8 MB, free: 3.461 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.06132, allocations: 186.1 kB / 326.9 MB, free: 3.281 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/0.07697, allocations: 1.49 MB / 328.4 MB, free: 1.703 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.07718, allocations: 276 kB / 328.7 MB, free: 1.414 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002044/0.07739, allocations: 68.83 kB / 328.8 MB, free: 1.348 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.0776, allocations: 143.3 kB / 328.9 MB, free: 1.207 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.0776, allocations: 0 / 328.9 MB, free: 1.207 MB / 314.7 MB Notification: Performance of Templates: time 0.01305/0.09065, allocations: 11.13 MB / 340 MB, free: 6.18 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.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: 3.0855024931952357]