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.00148/0.00148, allocations: 73.88 kB / 21.24 MB, free: 0.5547 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.001836/0.001836, allocations: 160.1 kB / 24.5 MB, free: 3.719 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.548/1.548, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.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.1761/0.1761, allocations: 29.44 MB / 290.7 MB, free: 3.27 MB / 270.1 MB " [Timeout remaining time 179] 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.003127/0.003127, allocations: 59.91 kB / 431.2 MB, free: 3.219 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3934, allocations: 62.44 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.007391/0.4008, allocations: 7.023 MB / 0.4889 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004324/0.4051, allocations: 4.117 MB / 0.4929 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.4054, allocations: 16.25 kB / 0.493 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002042/0.4074, allocations: 1.032 MB / 0.494 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.4093, allocations: 1.204 MB / 0.4951 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.41, allocations: 317 kB / 0.4954 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00099/0.4109, allocations: 1.404 MB / 0.4968 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000582/0.4115, allocations: 0.5096 MB / 0.4973 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005899/0.4121, allocations: 0.6401 MB / 0.4979 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006622/0.4128, allocations: 0.7068 MB / 0.4986 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.62e-05/0.4129, allocations: 63.59 kB / 0.4987 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.4143, allocations: 1.126 MB / 0.4998 GB, free: 27.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003052/0.4146, allocations: 485.6 kB / 0.5002 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002963/0.4149, allocations: 376.4 kB / 0.5006 GB, free: 26.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.4162, allocations: 1.465 MB / 0.502 GB, free: 26.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4162, allocations: 0 / 0.502 GB, free: 26.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4162, allocations: 0 / 0.502 GB, free: 26.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.4162, allocations: 0 / 0.502 GB, free: 26.34 MB / 446.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.001298/0.4175, allocations: 1.085 MB / 0.5031 GB, free: 25.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.4175, allocations: 13.77 kB / 0.5031 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/0.4205, allocations: 394.9 kB / 0.5035 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006059/0.4211, allocations: 428.6 kB / 0.5039 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.4211, allocations: 56.33 kB / 0.5039 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.4212, allocations: 78.17 kB / 0.504 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.4226, allocations: 1.178 MB / 0.5052 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.4226, allocations: 4 kB / 0.5052 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.899e-05/0.4227, allocations: 28.02 kB / 0.5052 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.257e-05/0.4228, allocations: 72.73 kB / 0.5053 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.4241, allocations: 1.233 MB / 0.5065 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003957/0.4281, allocations: 3.114 MB / 0.5095 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.4294, allocations: 0.9928 MB / 0.5105 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007552/0.4302, allocations: 0.5899 MB / 0.5111 GB, free: 22.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.943e-05/0.4302, allocations: 18.38 kB / 0.5111 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.4303, allocations: 45.25 kB / 0.5111 GB, free: 22.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=91): time 2.765e-06/0.4303, allocations: 0 / 0.5111 GB, free: 22.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=92): time 0.005888/0.4362, allocations: 3.008 MB / 0.5141 GB, free: 20.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.4362, allocations: 87.73 kB / 0.5141 GB, free: 20.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.4365, allocations: 357 kB / 0.5145 GB, free: 20.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.4366, allocations: 48.14 kB / 0.5145 GB, free: 20.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.4367, allocations: 325.3 kB / 0.5148 GB, free: 20.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.4369, allocations: 320.4 kB / 0.5151 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.4372, allocations: 160.4 kB / 0.5153 GB, free: 20.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.4372, allocations: 369.8 kB / 0.5157 GB, free: 19.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006063/0.4378, allocations: 464.9 kB / 0.5161 GB, free: 19.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007286/0.4386, allocations: 0.5672 MB / 0.5167 GB, free: 19.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.44, allocations: 1.112 MB / 0.5177 GB, free: 18.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.44, allocations: 1.125 kB / 0.5177 GB, free: 18.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002383/0.4424, allocations: 1.47 MB / 0.5192 GB, free: 18.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4424, allocations: 5.469 kB / 0.5192 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4425, allocations: 3.312 kB / 0.5192 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009028/0.4434, allocations: 337.5 kB / 0.5195 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/0.444, allocations: 182.1 kB / 0.5197 GB, free: 18.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00469/0.4487, allocations: 3.879 MB / 0.5235 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005027/0.4492, allocations: 45.17 kB / 0.5235 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-05/0.4493, allocations: 42.08 kB / 0.5235 GB, free: 15.79 MB / 446.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.000364/0.4497, allocations: 290.7 kB / 0.5238 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.4498, allocations: 60.39 kB / 0.5239 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/0.4523, allocations: 1.552 MB / 0.5254 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.4523, allocations: 14.94 kB / 0.5254 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4523, allocations: 9.438 kB / 0.5254 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.4523, allocations: 4.688 kB / 0.5254 GB, free: 14.95 MB / 446.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.004496/0.4568, allocations: 2.672 MB / 0.528 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.4568, allocations: 3.938 kB / 0.528 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006627/0.4575, allocations: 163.7 kB / 0.5282 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009834/0.4585, allocations: 288.3 kB / 0.5285 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.487e-05/0.4585, allocations: 24.31 kB / 0.5285 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004357/0.4629, allocations: 3.684 MB / 0.5321 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.4629, allocations: 4.656 kB / 0.5321 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/0.4654, allocations: 1.583 MB / 0.5336 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.4655, allocations: 69.09 kB / 0.5337 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.977e-05/0.4656, allocations: 22.03 kB / 0.5337 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/0.466, allocations: 41.98 kB / 0.5338 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.4662, allocations: 85.56 kB / 0.5339 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.569e-05/0.4663, allocations: 38.22 kB / 0.5339 GB, free: 10.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000328/0.4666, allocations: 249.8 kB / 0.5341 GB, free: 10.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4666, allocations: 4 kB / 0.5341 GB, free: 10.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001218/0.4679, allocations: 306.5 kB / 0.5344 GB, free: 10.41 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.0001634/0.468, allocations: 129.8 kB / 0.5345 GB, free: 10.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002209/0.4702, allocations: 1.336 MB / 0.5359 GB, free: 9.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4702, allocations: 1.125 kB / 0.5359 GB, free: 9.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.4714, allocations: 0.7983 MB / 0.5366 GB, free: 9.418 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006554/0.4721, allocations: 113.7 kB / 0.5367 GB, free: 9.359 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.4748, allocations: 1.808 MB / 0.5385 GB, free: 8.488 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/0.4754, allocations: 474.3 kB / 0.539 GB, free: 8.352 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004433/0.4759, allocations: 177.3 kB / 0.5391 GB, free: 8.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.4761, allocations: 65.72 kB / 0.5392 GB, free: 8.324 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4761, allocations: 4 kB / 0.5392 GB, free: 8.32 MB / 446.1 MB Notification: Performance of Templates: time 0.01524/0.4913, allocations: 10.36 MB / 0.5493 GB, free: 184 kB / 446.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 -s ida -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: 5.645427642040886]