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.00103/0.00103, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001704/0.001704, allocations: 170.2 kB / 24.82 MB, free: 9.262 MB / 18.57 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.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.2819/0.2819, allocations: 29.42 MB / 291.2 MB, free: 2.383 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",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.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.24e-05, allocations: 5.266 kB / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.005535/0.005557, allocations: 6.911 MB / 377 MB, free: 3.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003517/0.009075, allocations: 3.392 MB / 380.4 MB, free: 352 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002831/0.009358, allocations: 19.88 kB / 380.4 MB, free: 332 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.01043, allocations: 0.7547 MB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.01219, allocations: 1.268 MB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008385/0.01303, allocations: 370.7 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.01457, allocations: 1.464 MB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006581/0.01523, allocations: 0.5094 MB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009868/0.01621, allocations: 0.8256 MB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008954/0.01711, allocations: 0.7128 MB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.01722, allocations: 68 kB / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.0192, allocations: 1.207 MB / 387.6 MB, free: 9.129 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003958/0.0196, allocations: 0.53 MB / 388.1 MB, free: 8.598 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002805/0.01988, allocations: 327.3 kB / 388.5 MB, free: 8.277 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.02147, allocations: 1.359 MB / 389.8 MB, free: 6.914 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.02147, allocations: 4 kB / 389.8 MB, free: 6.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.02148, allocations: 0 / 389.8 MB, free: 6.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.0215, allocations: 0 / 389.8 MB, free: 6.91 MB / 362.7 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.001365/0.02286, allocations: 1.228 MB / 391.1 MB, free: 5.641 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.02291, allocations: 11.98 kB / 391.1 MB, free: 5.629 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/0.02472, allocations: 0.4996 MB / 391.6 MB, free: 5.129 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.0252, allocations: 411.7 kB / 392 MB, free: 4.703 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.02523, allocations: 58.36 kB / 392 MB, free: 4.645 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.768e-05/0.02531, allocations: 72.36 kB / 392.1 MB, free: 4.574 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006821/0.02599, allocations: 0.6616 MB / 392.8 MB, free: 3.883 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.02601, allocations: 4.172 kB / 392.8 MB, free: 3.879 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/0.02606, allocations: 32.36 kB / 392.8 MB, free: 3.848 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.038e-05/0.02613, allocations: 81.89 kB / 392.9 MB, free: 3.766 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.02662, allocations: 421.5 kB / 393.3 MB, free: 3.355 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/0.02951, allocations: 2.673 MB / 396 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008325/0.03035, allocations: 0.579 MB / 396.5 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.03059, allocations: 230.2 kB / 396.8 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.03064, allocations: 20.98 kB / 396.8 MB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.03068, allocations: 50.38 kB / 396.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 3.486e-06/0.03068, allocations: 0 / 396.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.003377/0.03406, allocations: 1.623 MB / 398.4 MB, free: 14.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.0341, allocations: 86.11 kB / 398.5 MB, free: 13.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.03435, allocations: 390.4 kB / 398.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/0.03439, allocations: 41.7 kB / 399 MB, free: 13.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.03457, allocations: 399.6 kB / 399.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.03478, allocations: 333 kB / 399.7 MB, free: 12.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.03496, allocations: 164.2 kB / 399.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.03514, allocations: 0.5585 MB / 400.4 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.03531, allocations: 141.8 kB / 400.5 MB, free: 11.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.03556, allocations: 295.3 kB / 400.8 MB, free: 11.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004861/0.03605, allocations: 496.2 kB / 401.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.03605, allocations: 0 / 401.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0009519/0.037, allocations: 0.7776 MB / 402.1 MB, free: 10.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.03702, allocations: 4 kB / 402.1 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.03703, allocations: 4 kB / 402.1 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004806/0.03751, allocations: 239.4 kB / 402.3 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.03787, allocations: 163.7 kB / 402.5 MB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002542/0.04041, allocations: 3.088 MB / 405.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.04063, allocations: 20 kB / 405.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.04068, allocations: 31.97 kB / 405.6 MB, free: 6.594 MB / 378.7 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.0001874/0.04086, allocations: 208.4 kB / 405.8 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.32e-05/0.04096, allocations: 83.62 kB / 405.9 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009633/0.04192, allocations: 0.82 MB / 406.7 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.04193, allocations: 12 kB / 406.7 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.04193, allocations: 4 kB / 406.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.04194, allocations: 3.984 kB / 406.7 MB, free: 5.449 MB / 378.7 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.002026/0.04397, allocations: 1.691 MB / 408.4 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.04397, allocations: 3.938 kB / 408.4 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.04426, allocations: 155.8 kB / 408.6 MB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003958/0.04465, allocations: 203.9 kB / 408.8 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/0.0447, allocations: 20 kB / 408.8 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0024/0.0471, allocations: 3.005 MB / 411.8 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.0471, allocations: 7.938 kB / 411.8 MB, free: 160 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.04811, allocations: 1.046 MB / 412.9 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.334e-05/0.0482, allocations: 67.5 kB / 412.9 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.04825, allocations: 24 kB / 413 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.04843, allocations: 23.94 kB / 413 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/0.04853, allocations: 88.72 kB / 413.1 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/0.04857, allocations: 31.98 kB / 413.1 MB, free: 14.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.04871, allocations: 243 kB / 413.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04871, allocations: 0 / 413.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007332/0.04944, allocations: 308 kB / 413.6 MB, free: 14.25 MB / 394.7 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.0001366/0.04958, allocations: 123.1 kB / 413.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008834/0.05046, allocations: 0.8267 MB / 414.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.05046, allocations: 0 / 414.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005433/0.05101, allocations: 0.6065 MB / 415.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.05145, allocations: 97.05 kB / 415.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.05351, allocations: 1.462 MB / 416.7 MB, free: 11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.05379, allocations: 271.9 kB / 417 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001871/0.05397, allocations: 72.81 kB / 417.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.05421, allocations: 158.2 kB / 417.2 MB, free: 10.49 MB / 394.7 MB Notification: Performance of SimCode: time 1.703e-06/0.05422, allocations: 4 kB / 417.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of Templates: time 0.0138/0.06801, allocations: 10.92 MB / 428.2 MB, free: 15.62 MB / 410.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.364317220635712]