Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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.00158/0.00158, 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.001908/0.001908, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.368/1.368, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.1735/0.1735, allocations: 38.53 MB / 353.2 MB, free: 12.54 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.NetworkLoop,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") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,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") [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.001923/0.001923, allocations: 63.91 kB / 493.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2892, allocations: 62.48 MB / 0.5432 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008082/0.2973, allocations: 7.607 MB / 0.5507 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005893/0.3032, allocations: 4.483 MB / 0.555 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003282/0.3035, allocations: 20.72 kB / 0.5551 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002513/0.306, allocations: 1.071 MB / 0.5561 GB, free: 6.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00255/0.3086, allocations: 1.214 MB / 0.5573 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008323/0.3094, allocations: 322.1 kB / 0.5576 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.311, allocations: 1.398 MB / 0.559 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008382/0.3119, allocations: 0.5189 MB / 0.5595 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.313, allocations: 0.6342 MB / 0.5601 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009606/0.3139, allocations: 0.7437 MB / 0.5608 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.252e-05/0.314, allocations: 64 kB / 0.5609 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002244/0.3163, allocations: 1.372 MB / 0.5622 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000445/0.3167, allocations: 482.7 kB / 0.5627 GB, free: 496 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004454/0.3172, allocations: 453.9 kB / 0.5631 GB, free: 40 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.319, allocations: 1.46 MB / 0.5645 GB, free: 14.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.319, allocations: 0 / 0.5645 GB, free: 14.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.319, allocations: 0 / 0.5645 GB, free: 14.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.319, allocations: 0 / 0.5645 GB, free: 14.57 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001607/0.3206, allocations: 1.08 MB / 0.5656 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3207, allocations: 15.98 kB / 0.5656 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002858/0.3235, allocations: 399.9 kB / 0.566 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008061/0.3243, allocations: 425.7 kB / 0.5664 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.567e-05/0.3244, allocations: 54.36 kB / 0.5664 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.3245, allocations: 72.36 kB / 0.5665 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.3262, allocations: 1.18 MB / 0.5677 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.3262, allocations: 3.938 kB / 0.5677 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.647e-05/0.3263, allocations: 31.98 kB / 0.5677 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-05/0.3264, allocations: 73.95 kB / 0.5678 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.3282, allocations: 1.237 MB / 0.569 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005223/0.3335, allocations: 3.431 MB / 0.5723 GB, free: 6.418 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.335, allocations: 0.9757 MB / 0.5733 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008529/0.3359, allocations: 0.594 MB / 0.5739 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.317e-05/0.3359, allocations: 16.97 kB / 0.5739 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.336, allocations: 47.56 kB / 0.5739 GB, free: 4.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.795e-06/0.336, allocations: 3.938 kB / 0.5739 GB, free: 4.746 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006389/0.3424, allocations: 3.017 MB / 0.5769 GB, free: 1.723 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.3424, allocations: 86.11 kB / 0.577 GB, free: 1.621 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.3428, allocations: 361.6 kB / 0.5773 GB, free: 1.262 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.863e-05/0.3429, allocations: 41.73 kB / 0.5773 GB, free: 1.215 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.3431, allocations: 328.9 kB / 0.5777 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/0.3434, allocations: 325.1 kB / 0.578 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.3436, allocations: 154.6 kB / 0.5781 GB, free: 420 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3438, allocations: 370.8 kB / 0.5785 GB, free: 40 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000693/0.3445, allocations: 473.7 kB / 0.5789 GB, free: 15.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007559/0.3452, allocations: 0.5696 MB / 0.5795 GB, free: 14.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.3468, allocations: 1.109 MB / 0.5806 GB, free: 13.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3468, allocations: 0 / 0.5806 GB, free: 13.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002466/0.3492, allocations: 1.47 MB / 0.582 GB, free: 12.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3492, allocations: 4.188 kB / 0.582 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3493, allocations: 8 kB / 0.582 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009303/0.3502, allocations: 337.5 kB / 0.5823 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007167/0.3509, allocations: 179.7 kB / 0.5825 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005381/0.3563, allocations: 4.072 MB / 0.5865 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/0.3568, allocations: 60 kB / 0.5865 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.975e-05/0.3568, allocations: 31.98 kB / 0.5866 GB, free: 7.539 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.0004111/0.3572, allocations: 293.5 kB / 0.5868 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.3574, allocations: 55.67 kB / 0.5869 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/0.36, allocations: 1.563 MB / 0.5884 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.36, allocations: 12 kB / 0.5884 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.36, allocations: 4 kB / 0.5884 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.3601, allocations: 3.984 kB / 0.5884 GB, free: 5.59 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.004843/0.3649, allocations: 2.995 MB / 0.5914 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.3649, allocations: 4 kB / 0.5914 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006172/0.3655, allocations: 163.8 kB / 0.5915 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007756/0.3663, allocations: 285 kB / 0.5918 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.25e-05/0.3664, allocations: 31.98 kB / 0.5918 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004925/0.3713, allocations: 3.8 MB / 0.5955 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.3713, allocations: 7.938 kB / 0.5955 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/0.3737, allocations: 1.59 MB / 0.5971 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.3739, allocations: 67.61 kB / 0.5972 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.77e-05/0.3739, allocations: 20 kB / 0.5972 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004161/0.3744, allocations: 43.89 kB / 0.5972 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.3745, allocations: 84.8 kB / 0.5973 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.671e-05/0.3746, allocations: 39.98 kB / 0.5973 GB, free: 12.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002754/0.3748, allocations: 263 kB / 0.5976 GB, free: 11.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3748, allocations: 3.938 kB / 0.5976 GB, free: 11.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008972/0.3757, allocations: 308 kB / 0.5979 GB, free: 11.59 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.0001581/0.3759, allocations: 131 kB / 0.598 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002117/0.378, allocations: 1.338 MB / 0.5993 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.378, allocations: 0 / 0.5993 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.3792, allocations: 0.7892 MB / 0.6001 GB, free: 9.309 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006235/0.3798, allocations: 105.8 kB / 0.6002 GB, free: 9.207 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.3827, allocations: 1.908 MB / 0.6021 GB, free: 7.215 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007696/0.3835, allocations: 1.068 MB / 0.6031 GB, free: 6.117 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.3837, allocations: 71.41 kB / 0.6032 GB, free: 6.047 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3837, allocations: 0 / 0.6032 GB, free: 6.047 MB / 446.1 MB Notification: Performance of Templates: time 0.0171/0.4008, allocations: 12.5 MB / 0.6154 GB, free: 9.523 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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: 7.920890748966485]