Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 112 kB / 20.43 MB, free: 1.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002131/0.002131, allocations: 190.7 kB / 23.72 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1866/0.1866, allocations: 38.54 MB / 346.3 MB, free: 2.121 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,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.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,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.NetworkLoop_dq") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 71.88 kB / 484.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4411, allocations: 61.28 MB / 0.533 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.008083/0.4492, allocations: 7.608 MB / 0.5405 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007151/0.4563, allocations: 4.459 MB / 0.5448 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006364/0.457, allocations: 16.72 kB / 0.5448 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003198/0.4602, allocations: 1.077 MB / 0.5459 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004513/0.4647, allocations: 1.21 MB / 0.5471 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.466, allocations: 322.8 kB / 0.5474 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002745/0.4687, allocations: 1.41 MB / 0.5488 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.4698, allocations: 454.1 kB / 0.5492 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.4714, allocations: 0.6307 MB / 0.5498 GB, free: 8.898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.4729, allocations: 0.7425 MB / 0.5505 GB, free: 8.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.473, allocations: 68.47 kB / 0.5506 GB, free: 8.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003294/0.4763, allocations: 1.371 MB / 0.5519 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006774/0.477, allocations: 493.9 kB / 0.5524 GB, free: 7.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006736/0.4777, allocations: 445.9 kB / 0.5528 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003342/0.481, allocations: 1.458 MB / 0.5543 GB, free: 6.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.481, allocations: 1.094 kB / 0.5543 GB, free: 6.238 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.481, allocations: 0 / 0.5543 GB, free: 6.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.481, allocations: 0 / 0.5543 GB, free: 6.238 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002281/0.4833, allocations: 1.09 MB / 0.5553 GB, free: 5.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4834, allocations: 8.031 kB / 0.5553 GB, free: 5.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003269/0.4866, allocations: 387.9 kB / 0.5557 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.4878, allocations: 433.7 kB / 0.5561 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/0.4879, allocations: 58.36 kB / 0.5562 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.488, allocations: 72.33 kB / 0.5562 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.4902, allocations: 1.176 MB / 0.5574 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.4902, allocations: 3.938 kB / 0.5574 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-05/0.4903, allocations: 35.98 kB / 0.5574 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/0.4904, allocations: 69.95 kB / 0.5575 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.4926, allocations: 1.241 MB / 0.5587 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006618/0.4992, allocations: 3.416 MB / 0.562 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.501, allocations: 0.9837 MB / 0.563 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009655/0.502, allocations: 0.5862 MB / 0.5636 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-05/0.5021, allocations: 24.97 kB / 0.5636 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/0.5021, allocations: 39.56 kB / 0.5636 GB, free: 12.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 5.43e-06/0.5021, allocations: 0 / 0.5636 GB, free: 12.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.007606/0.5097, allocations: 3.017 MB / 0.5666 GB, free: 9.547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/0.5099, allocations: 90.09 kB / 0.5667 GB, free: 9.441 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004975/0.5104, allocations: 357.7 kB / 0.567 GB, free: 9.086 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.5105, allocations: 41.7 kB / 0.567 GB, free: 9.039 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.5108, allocations: 324.8 kB / 0.5674 GB, free: 8.715 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/0.5111, allocations: 325.2 kB / 0.5677 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003262/0.5115, allocations: 158.6 kB / 0.5678 GB, free: 8.234 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003013/0.5118, allocations: 374.8 kB / 0.5682 GB, free: 7.859 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007689/0.5125, allocations: 473.7 kB / 0.5686 GB, free: 7.395 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008598/0.5134, allocations: 0.5656 MB / 0.5692 GB, free: 6.801 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.5151, allocations: 1.117 MB / 0.5703 GB, free: 5.652 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5151, allocations: 0 / 0.5703 GB, free: 5.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002871/0.518, allocations: 1.47 MB / 0.5717 GB, free: 4.176 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.518, allocations: 7.938 kB / 0.5717 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.518, allocations: 4 kB / 0.5717 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.519, allocations: 328.8 kB / 0.572 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007536/0.5198, allocations: 183.7 kB / 0.5722 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006287/0.5261, allocations: 4.088 MB / 0.5762 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006428/0.5267, allocations: 47.94 kB / 0.5762 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.422e-05/0.5268, allocations: 39.98 kB / 0.5763 GB, free: 15.35 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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.0005597/0.5274, allocations: 293.6 kB / 0.5766 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.5275, allocations: 59.62 kB / 0.5766 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002903/0.5304, allocations: 1.555 MB / 0.5781 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.5304, allocations: 8 kB / 0.5781 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.5304, allocations: 11.98 kB / 0.5782 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.5304, allocations: 7.984 kB / 0.5782 GB, free: 13.4 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.005553/0.536, allocations: 2.987 MB / 0.5811 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.536, allocations: 12.05 kB / 0.5811 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006863/0.5367, allocations: 167.8 kB / 0.5813 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008556/0.5375, allocations: 284.5 kB / 0.5815 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.173e-05/0.5376, allocations: 20 kB / 0.5815 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005612/0.5432, allocations: 3.803 MB / 0.5853 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.5432, allocations: 7.938 kB / 0.5853 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/0.5459, allocations: 1.591 MB / 0.5868 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/0.5461, allocations: 71.55 kB / 0.5869 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.5463, allocations: 24 kB / 0.5869 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/0.5467, allocations: 39.91 kB / 0.5869 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.5469, allocations: 88.78 kB / 0.587 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.806e-05/0.5469, allocations: 39.92 kB / 0.5871 GB, free: 3.961 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003544/0.5473, allocations: 263.1 kB / 0.5873 GB, free: 3.703 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5473, allocations: 0 / 0.5873 GB, free: 3.703 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001093/0.5484, allocations: 308 kB / 0.5876 GB, free: 3.402 MB / 430.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.0002075/0.5486, allocations: 131 kB / 0.5877 GB, free: 3.266 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00238/0.551, allocations: 1.334 MB / 0.589 GB, free: 1.918 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.551, allocations: 0.5625 kB / 0.589 GB, free: 1.918 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.5523, allocations: 0.7998 MB / 0.5898 GB, free: 1.109 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007163/0.553, allocations: 105.7 kB / 0.5899 GB, free: 1.008 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.5562, allocations: 1.817 MB / 0.5917 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008711/0.5571, allocations: 1.072 MB / 0.5927 GB, free: 14.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000445/0.5576, allocations: 184.6 kB / 0.5929 GB, free: 13.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.5578, allocations: 59.41 kB / 0.593 GB, free: 13.77 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5578, allocations: 0 / 0.593 GB, free: 13.77 MB / 446.1 MB Notification: Performance of Templates: time 0.02113/0.5789, allocations: 11.31 MB / 0.604 GB, free: 2.469 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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: 5.577317192219198]