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.001646/0.001646, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001966/0.001966, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.572/1.572, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1889/0.1889, allocations: 38.56 MB / 352.5 MB, free: 12.39 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.002331/0.002331, allocations: 66.41 kB / 493 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3737, allocations: 62.47 MB / 0.5424 GB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008924/0.3826, allocations: 7.023 MB / 0.5493 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006614/0.3892, allocations: 4.118 MB / 0.5533 GB, free: 7.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006973/0.3899, allocations: 16.84 kB / 0.5533 GB, free: 7.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003037/0.393, allocations: 1.015 MB / 0.5543 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003996/0.397, allocations: 1.211 MB / 0.5555 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.3982, allocations: 326.6 kB / 0.5558 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002597/0.4008, allocations: 1.401 MB / 0.5572 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.402, allocations: 0.5013 MB / 0.5577 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.4039, allocations: 0.6458 MB / 0.5583 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.4053, allocations: 0.7164 MB / 0.559 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002473/0.4056, allocations: 60 kB / 0.5591 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.4085, allocations: 1.122 MB / 0.5602 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007478/0.4092, allocations: 482.7 kB / 0.5606 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008638/0.4101, allocations: 370.4 kB / 0.561 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00377/0.4139, allocations: 1.476 MB / 0.5624 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.4139, allocations: 0 / 0.5624 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4139, allocations: 0 / 0.5624 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.067e-05/0.4139, allocations: 0 / 0.5624 GB, free: 15.68 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.002533/0.4165, allocations: 1.078 MB / 0.5635 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.4165, allocations: 15.98 kB / 0.5635 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/0.4197, allocations: 383.9 kB / 0.5638 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.4208, allocations: 441.7 kB / 0.5643 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.227e-05/0.4209, allocations: 62.23 kB / 0.5643 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.421, allocations: 72.36 kB / 0.5644 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.423, allocations: 1.172 MB / 0.5655 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.423, allocations: 0 / 0.5655 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.783e-05/0.4231, allocations: 31.98 kB / 0.5656 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.4232, allocations: 73.89 kB / 0.5656 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/0.4251, allocations: 1.237 MB / 0.5668 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005555/0.4306, allocations: 3.112 MB / 0.5699 GB, free: 7.859 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.4323, allocations: 0.9874 MB / 0.5708 GB, free: 6.855 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000869/0.4332, allocations: 0.594 MB / 0.5714 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.682e-05/0.4332, allocations: 9 kB / 0.5714 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.4333, allocations: 47.55 kB / 0.5715 GB, free: 6.191 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.985e-06/0.4333, allocations: 0 / 0.5715 GB, free: 6.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006662/0.4399, allocations: 3.016 MB / 0.5744 GB, free: 3.168 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.44, allocations: 90.11 kB / 0.5745 GB, free: 3.062 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.4404, allocations: 361.6 kB / 0.5749 GB, free: 2.703 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.681e-05/0.4405, allocations: 37.7 kB / 0.5749 GB, free: 2.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.4407, allocations: 320.9 kB / 0.5752 GB, free: 2.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/0.441, allocations: 329.1 kB / 0.5755 GB, free: 2.016 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.4412, allocations: 154.6 kB / 0.5757 GB, free: 1.859 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.4414, allocations: 370.8 kB / 0.576 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007016/0.4421, allocations: 465.7 kB / 0.5765 GB, free: 1.031 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008028/0.4429, allocations: 0.5734 MB / 0.577 GB, free: 440 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.4446, allocations: 1.109 MB / 0.5781 GB, free: 15.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4446, allocations: 0 / 0.5781 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002564/0.4471, allocations: 1.477 MB / 0.5795 GB, free: 13.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.4472, allocations: 4 kB / 0.5795 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.4472, allocations: 4 kB / 0.5796 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009586/0.4481, allocations: 333.5 kB / 0.5799 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000693/0.4488, allocations: 179.7 kB / 0.58 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005497/0.4543, allocations: 3.877 MB / 0.5838 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005867/0.4549, allocations: 47.94 kB / 0.5839 GB, free: 9.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.803e-05/0.455, allocations: 39.92 kB / 0.5839 GB, free: 9.23 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.0005275/0.4555, allocations: 289.6 kB / 0.5842 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.4556, allocations: 59.62 kB / 0.5842 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/0.4584, allocations: 1.563 MB / 0.5858 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.4584, allocations: 8 kB / 0.5858 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.4585, allocations: 4 kB / 0.5858 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.4585, allocations: 7.984 kB / 0.5858 GB, free: 7.281 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.005139/0.4636, allocations: 2.669 MB / 0.5884 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-06/0.4636, allocations: 7.938 kB / 0.5884 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006212/0.4642, allocations: 168.2 kB / 0.5886 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008/0.465, allocations: 284.5 kB / 0.5888 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.4e-05/0.4651, allocations: 31.98 kB / 0.5889 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005373/0.4705, allocations: 3.664 MB / 0.5924 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/0.4705, allocations: 7.938 kB / 0.5925 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/0.4734, allocations: 1.583 MB / 0.594 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.4736, allocations: 71.55 kB / 0.5941 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.988e-05/0.4737, allocations: 31.92 kB / 0.5941 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006936/0.4744, allocations: 35.97 kB / 0.5941 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.4746, allocations: 88.72 kB / 0.5942 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-05/0.4746, allocations: 39.98 kB / 0.5943 GB, free: 14.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003347/0.475, allocations: 247.2 kB / 0.5945 GB, free: 14.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.475, allocations: 4 kB / 0.5945 GB, free: 14.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001169/0.4761, allocations: 304 kB / 0.5948 GB, free: 13.82 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.0002011/0.4763, allocations: 124.6 kB / 0.5949 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002369/0.4787, allocations: 1.346 MB / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4787, allocations: 0 / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.48, allocations: 0.793 MB / 0.597 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006477/0.4806, allocations: 106.3 kB / 0.5971 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.4838, allocations: 1.824 MB / 0.5989 GB, free: 9.523 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/0.4845, allocations: 472.8 kB / 0.5993 GB, free: 9.035 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004532/0.4849, allocations: 184.6 kB / 0.5995 GB, free: 8.855 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.4851, allocations: 59.41 kB / 0.5996 GB, free: 8.797 MB / 446.1 MB Notification: Performance of SimCode: time 9.51e-07/0.4851, allocations: 0 / 0.5996 GB, free: 8.797 MB / 446.1 MB Notification: Performance of Templates: time 0.02081/0.5059, allocations: 11.37 MB / 0.6107 GB, free: 13.48 MB / 462.1 MB " [Timeout remaining time 659] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","/var/lib/jenkins/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: 5.948969751596451]