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.001481/0.001481, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001662/0.001662, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.328/1.328, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.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.1709/0.1709, allocations: 38.52 MB / 353.2 MB, free: 12.55 MB / 286.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.NetworkOpened,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.89 kB / 493.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.294, allocations: 62.47 MB / 0.5432 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008557/0.3026, allocations: 7.872 MB / 0.5509 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006749/0.3093, allocations: 4.843 MB / 0.5556 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005059/0.3098, allocations: 21.94 kB / 0.5557 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002725/0.3126, allocations: 1.126 MB / 0.5568 GB, free: 5.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00304/0.3156, allocations: 1.27 MB / 0.558 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.3167, allocations: 370.2 kB / 0.5584 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.3187, allocations: 1.466 MB / 0.5598 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007778/0.3195, allocations: 0.5172 MB / 0.5603 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.3206, allocations: 0.6575 MB / 0.5609 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.3216, allocations: 0.771 MB / 0.5617 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.05e-05/0.3217, allocations: 64 kB / 0.5617 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002634/0.3243, allocations: 1.485 MB / 0.5632 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000482/0.3248, allocations: 0.5026 MB / 0.5637 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004793/0.3253, allocations: 449.9 kB / 0.5641 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.3275, allocations: 1.546 MB / 0.5656 GB, free: 13.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3275, allocations: 0 / 0.5656 GB, free: 13.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3275, allocations: 0 / 0.5656 GB, free: 13.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.3276, allocations: 0 / 0.5656 GB, free: 13.46 MB / 414.1 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.001676/0.3292, allocations: 1.119 MB / 0.5667 GB, free: 12.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3293, allocations: 23.92 kB / 0.5667 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/0.3324, allocations: 411.8 kB / 0.5671 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008578/0.3333, allocations: 441.7 kB / 0.5676 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/0.3333, allocations: 54.36 kB / 0.5676 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.3334, allocations: 76.31 kB / 0.5677 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.3352, allocations: 1.238 MB / 0.5689 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.3353, allocations: 0 / 0.5689 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.883e-05/0.3353, allocations: 31.98 kB / 0.5689 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.776e-05/0.3354, allocations: 81.94 kB / 0.569 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.3374, allocations: 1.304 MB / 0.5703 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005641/0.343, allocations: 3.618 MB / 0.5738 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.3447, allocations: 1.02 MB / 0.5748 GB, free: 3.855 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007999/0.3455, allocations: 0.5707 MB / 0.5754 GB, free: 3.281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.429e-05/0.3456, allocations: 16.98 kB / 0.5754 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.3456, allocations: 39.56 kB / 0.5754 GB, free: 3.215 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 2.234e-06/0.3456, allocations: 4 kB / 0.5754 GB, free: 3.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.006558/0.3522, allocations: 3.068 MB / 0.5784 GB, free: 140 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.3522, allocations: 86.11 kB / 0.5785 GB, free: 36 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/0.3527, allocations: 385.5 kB / 0.5789 GB, free: 15.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/0.3527, allocations: 37.7 kB / 0.5789 GB, free: 15.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.3529, allocations: 336.9 kB / 0.5792 GB, free: 15.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/0.3532, allocations: 337.1 kB / 0.5795 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.3534, allocations: 162.5 kB / 0.5797 GB, free: 14.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3536, allocations: 370.8 kB / 0.5801 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006721/0.3543, allocations: 465.7 kB / 0.5805 GB, free: 13.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007659/0.3551, allocations: 0.5743 MB / 0.5811 GB, free: 13.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.3566, allocations: 1.118 MB / 0.5821 GB, free: 12.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3566, allocations: 0 / 0.5821 GB, free: 12.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002487/0.3591, allocations: 1.47 MB / 0.5836 GB, free: 10.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.3591, allocations: 12 kB / 0.5836 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3591, allocations: 0 / 0.5836 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009321/0.3601, allocations: 340.6 kB / 0.5839 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007001/0.3608, allocations: 179.7 kB / 0.5841 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005456/0.3662, allocations: 4.068 MB / 0.5881 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000536/0.3668, allocations: 47.94 kB / 0.5881 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/0.3668, allocations: 35.98 kB / 0.5881 GB, free: 5.902 MB / 430.1 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.0004307/0.3673, allocations: 300.7 kB / 0.5884 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.3674, allocations: 67.62 kB / 0.5885 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.37, allocations: 1.54 MB / 0.59 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.37, allocations: 12 kB / 0.59 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.37, allocations: 4 kB / 0.59 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.3701, allocations: 3.984 kB / 0.59 GB, free: 3.961 MB / 430.1 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.005017/0.3751, allocations: 2.972 MB / 0.5929 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.3751, allocations: 4 kB / 0.5929 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006154/0.3757, allocations: 163.8 kB / 0.5931 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007621/0.3765, allocations: 288.9 kB / 0.5934 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.19e-05/0.3765, allocations: 31.98 kB / 0.5934 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004978/0.3815, allocations: 3.796 MB / 0.5971 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3815, allocations: 8.062 kB / 0.5971 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.384, allocations: 1.571 MB / 0.5986 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.3841, allocations: 75.55 kB / 0.5987 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.62e-05/0.3842, allocations: 23.98 kB / 0.5987 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.3846, allocations: 39.97 kB / 0.5988 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.3847, allocations: 80.78 kB / 0.5988 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.776e-05/0.3848, allocations: 43.92 kB / 0.5989 GB, free: 10.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002857/0.3851, allocations: 259.2 kB / 0.5991 GB, free: 10.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3851, allocations: 4 kB / 0.5991 GB, free: 10.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000936/0.386, allocations: 312 kB / 0.5994 GB, free: 10 MB / 446.1 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.0001728/0.3862, allocations: 127 kB / 0.5996 GB, free: 9.867 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002055/0.3883, allocations: 1.331 MB / 0.6009 GB, free: 8.523 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.3883, allocations: 4 kB / 0.6009 GB, free: 8.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.3895, allocations: 0.7889 MB / 0.6016 GB, free: 7.727 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/0.3901, allocations: 105.3 kB / 0.6017 GB, free: 7.625 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.393, allocations: 1.939 MB / 0.6036 GB, free: 5.598 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007902/0.3938, allocations: 1.079 MB / 0.6047 GB, free: 4.488 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.3941, allocations: 75.39 kB / 0.6047 GB, free: 4.414 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3941, allocations: 0 / 0.6047 GB, free: 4.414 MB / 446.1 MB Notification: Performance of Templates: time 0.01732/0.4114, allocations: 12.78 MB / 0.6172 GB, free: 7.617 MB / 462.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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: 8.01769964187406]