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.001795/0.001795, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002129/0.002129, allocations: 214.2 kB / 24.48 MB, free: 3.84 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.514/1.514, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.1873/0.1873, allocations: 38.56 MB / 353.2 MB, free: 12.31 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.002121/0.002121, allocations: 63.89 kB / 493.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3054, allocations: 62.47 MB / 0.5432 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008668/0.3141, allocations: 7.271 MB / 0.5503 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006843/0.3209, allocations: 4.428 MB / 0.5546 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004048/0.3213, allocations: 20.72 kB / 0.5546 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002837/0.3242, allocations: 1.071 MB / 0.5557 GB, free: 6.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003434/0.3276, allocations: 1.268 MB / 0.5569 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.3287, allocations: 371.1 kB / 0.5572 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001851/0.3306, allocations: 1.47 MB / 0.5587 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007708/0.3313, allocations: 0.5094 MB / 0.5592 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.3323, allocations: 0.6614 MB / 0.5598 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009925/0.3333, allocations: 0.7358 MB / 0.5605 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.3334, allocations: 68 kB / 0.5606 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/0.3358, allocations: 1.211 MB / 0.5618 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000501/0.3363, allocations: 0.4988 MB / 0.5623 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004475/0.3367, allocations: 382.3 kB / 0.5626 GB, free: 216 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.3389, allocations: 1.55 MB / 0.5642 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3389, allocations: 0 / 0.5642 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3389, allocations: 0 / 0.5642 GB, free: 14.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.3389, allocations: 0 / 0.5642 GB, free: 14.66 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.001774/0.3407, allocations: 1.113 MB / 0.5652 GB, free: 13.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3407, allocations: 11.98 kB / 0.5653 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003332/0.344, allocations: 419.8 kB / 0.5657 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009984/0.345, allocations: 449.7 kB / 0.5661 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.312e-05/0.3451, allocations: 54.36 kB / 0.5661 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.3452, allocations: 72.36 kB / 0.5662 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.3472, allocations: 1.234 MB / 0.5674 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.3473, allocations: 4 kB / 0.5674 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.276e-05/0.3474, allocations: 31.98 kB / 0.5674 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.3475, allocations: 73.95 kB / 0.5675 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.3496, allocations: 1.304 MB / 0.5688 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005951/0.3555, allocations: 3.295 MB / 0.572 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.3574, allocations: 0.997 MB / 0.573 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008904/0.3583, allocations: 0.5824 MB / 0.5735 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.57e-05/0.3583, allocations: 12.98 kB / 0.5736 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.3584, allocations: 43.56 kB / 0.5736 GB, free: 4.773 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 3.105e-06/0.3584, allocations: 8 kB / 0.5736 GB, free: 4.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.007169/0.3655, allocations: 3.056 MB / 0.5766 GB, free: 1.699 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.3656, allocations: 94.05 kB / 0.5767 GB, free: 1.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.366, allocations: 369.7 kB / 0.577 GB, free: 1.223 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.425e-05/0.3661, allocations: 41.7 kB / 0.5771 GB, free: 1.176 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.3663, allocations: 336.9 kB / 0.5774 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/0.3666, allocations: 337 kB / 0.5777 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.3669, allocations: 162.6 kB / 0.5779 GB, free: 352 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.3671, allocations: 370.8 kB / 0.5782 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007286/0.3678, allocations: 469.7 kB / 0.5787 GB, free: 15.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008258/0.3687, allocations: 0.5704 MB / 0.5792 GB, free: 14.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.3704, allocations: 1.122 MB / 0.5803 GB, free: 13.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3704, allocations: 0 / 0.5803 GB, free: 13.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00267/0.373, allocations: 1.47 MB / 0.5818 GB, free: 12.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.373, allocations: 8.219 kB / 0.5818 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3731, allocations: 7.938 kB / 0.5818 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009912/0.374, allocations: 340.6 kB / 0.5821 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007325/0.3748, allocations: 179.7 kB / 0.5823 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005692/0.3805, allocations: 3.873 MB / 0.5861 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/0.381, allocations: 51.88 kB / 0.5861 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8e-05/0.3811, allocations: 39.98 kB / 0.5861 GB, free: 7.691 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.0004418/0.3816, allocations: 293.5 kB / 0.5864 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.3817, allocations: 63.61 kB / 0.5865 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/0.3846, allocations: 1.54 MB / 0.588 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.3846, allocations: 8 kB / 0.588 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.3846, allocations: 11.94 kB / 0.588 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.3846, allocations: 3.984 kB / 0.588 GB, free: 5.754 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.005202/0.3898, allocations: 2.649 MB / 0.5906 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.3898, allocations: 0 / 0.5906 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006436/0.3904, allocations: 164.2 kB / 0.5908 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008218/0.3913, allocations: 284.5 kB / 0.591 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.236e-05/0.3913, allocations: 32 kB / 0.5911 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00555/0.3969, allocations: 3.653 MB / 0.5946 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.3969, allocations: 7.938 kB / 0.5946 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.3995, allocations: 1.571 MB / 0.5962 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.3997, allocations: 67.55 kB / 0.5962 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.964e-05/0.3998, allocations: 20 kB / 0.5962 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.4002, allocations: 43.97 kB / 0.5963 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.4004, allocations: 92.7 kB / 0.5964 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.127e-05/0.4004, allocations: 35.98 kB / 0.5964 GB, free: 12.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002952/0.4007, allocations: 255.2 kB / 0.5967 GB, free: 12.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4007, allocations: 0 / 0.5967 GB, free: 12.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009728/0.4017, allocations: 308 kB / 0.5969 GB, free: 12.34 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.0001787/0.4019, allocations: 129.9 kB / 0.5971 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002247/0.4041, allocations: 1.33 MB / 0.5984 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4041, allocations: 0 / 0.5984 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.4054, allocations: 0.7927 MB / 0.5991 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006782/0.4061, allocations: 103 kB / 0.5992 GB, free: 9.965 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.4091, allocations: 1.927 MB / 0.6011 GB, free: 7.953 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005835/0.4097, allocations: 493.1 kB / 0.6016 GB, free: 7.445 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.41, allocations: 71.39 kB / 0.6017 GB, free: 7.375 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.41, allocations: 0 / 0.6017 GB, free: 7.375 MB / 446.1 MB Notification: Performance of Templates: time 0.01961/0.4296, allocations: 13.07 MB / 0.6144 GB, free: 10.29 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.540573288686574]