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.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.001589/0.001589, allocations: 113 kB / 19.04 MB, free: 3.254 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.001923/0.001923, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.405/1.405, allocations: 225.6 MB / 250.8 MB, free: 13.34 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.1809/0.1809, allocations: 38.52 MB / 344.5 MB, free: 2.551 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.NetworkOpened,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.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,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.NetworkOpened") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 75.86 kB / 482.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3584, allocations: 61.24 MB / 0.5306 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.007871/0.3663, allocations: 7.836 MB / 0.5382 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007555/0.3738, allocations: 4.808 MB / 0.5429 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006885/0.3745, allocations: 14.09 kB / 0.5429 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002967/0.3775, allocations: 1.109 MB / 0.544 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003915/0.3814, allocations: 1.278 MB / 0.5453 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.3828, allocations: 365.9 kB / 0.5456 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002397/0.3852, allocations: 1.465 MB / 0.547 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000879/0.3861, allocations: 462.7 kB / 0.5475 GB, free: 8.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.3878, allocations: 0.6515 MB / 0.5481 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/0.3893, allocations: 0.7732 MB / 0.5489 GB, free: 7.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000237/0.3896, allocations: 65.59 kB / 0.5489 GB, free: 7.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003476/0.393, allocations: 1.475 MB / 0.5504 GB, free: 7.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007489/0.3938, allocations: 0.5037 MB / 0.5509 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009945/0.3948, allocations: 463 kB / 0.5513 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003504/0.3983, allocations: 1.539 MB / 0.5528 GB, free: 5.602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3983, allocations: 5.062 kB / 0.5528 GB, free: 5.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3983, allocations: 0 / 0.5528 GB, free: 5.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.3983, allocations: 0 / 0.5528 GB, free: 5.598 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00221/0.4005, allocations: 1.195 MB / 0.554 GB, free: 4.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4006, allocations: 15.89 kB / 0.554 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003429/0.404, allocations: 411.9 kB / 0.5544 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009349/0.4049, allocations: 0.4995 MB / 0.5549 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.405, allocations: 54.36 kB / 0.5549 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.4051, allocations: 72.36 kB / 0.555 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/0.4071, allocations: 1.234 MB / 0.5562 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/0.4072, allocations: 11.95 kB / 0.5562 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-05/0.4073, allocations: 27.98 kB / 0.5562 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.4074, allocations: 73.95 kB / 0.5563 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.4095, allocations: 1.312 MB / 0.5576 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006185/0.4156, allocations: 3.682 MB / 0.5612 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.4175, allocations: 1.016 MB / 0.5622 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009125/0.4184, allocations: 0.5745 MB / 0.5627 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.474e-05/0.4185, allocations: 25.12 kB / 0.5628 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.4186, allocations: 39.56 kB / 0.5628 GB, free: 11.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 3.547e-06/0.4186, allocations: 0 / 0.5628 GB, free: 11.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.007341/0.4259, allocations: 3.155 MB / 0.5659 GB, free: 8.105 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.426, allocations: 90.11 kB / 0.566 GB, free: 7.996 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004563/0.4264, allocations: 377.6 kB / 0.5663 GB, free: 7.621 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.4265, allocations: 41.7 kB / 0.5664 GB, free: 7.574 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.4267, allocations: 332.9 kB / 0.5667 GB, free: 7.242 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/0.427, allocations: 341 kB / 0.567 GB, free: 6.906 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/0.4273, allocations: 158.6 kB / 0.5672 GB, free: 6.746 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.4275, allocations: 370.8 kB / 0.5675 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007002/0.4282, allocations: 465.7 kB / 0.568 GB, free: 5.922 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008337/0.429, allocations: 0.5782 MB / 0.5685 GB, free: 5.309 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.4307, allocations: 1.11 MB / 0.5696 GB, free: 4.168 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.4307, allocations: 4 kB / 0.5696 GB, free: 4.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002667/0.4333, allocations: 1.474 MB / 0.5711 GB, free: 2.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.4334, allocations: 11.94 kB / 0.5711 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4334, allocations: 4 kB / 0.5711 GB, free: 2.664 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009829/0.4343, allocations: 337.5 kB / 0.5714 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006977/0.435, allocations: 179.7 kB / 0.5716 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005786/0.4408, allocations: 4.182 MB / 0.5756 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007159/0.4415, allocations: 47.94 kB / 0.5757 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.529e-05/0.4416, allocations: 39.98 kB / 0.5757 GB, free: 13.73 MB / 430.1 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.000524/0.4422, allocations: 305.5 kB / 0.576 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.4423, allocations: 63.62 kB / 0.5761 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/0.4451, allocations: 1.543 MB / 0.5776 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.4451, allocations: 12 kB / 0.5776 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.4451, allocations: 4 kB / 0.5776 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.4451, allocations: 3.984 kB / 0.5776 GB, free: 11.78 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.005174/0.4503, allocations: 2.996 MB / 0.5805 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.4503, allocations: 4 kB / 0.5805 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006271/0.4509, allocations: 175.7 kB / 0.5807 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008306/0.4518, allocations: 277 kB / 0.581 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-05/0.4518, allocations: 27.98 kB / 0.581 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005489/0.4573, allocations: 3.907 MB / 0.5848 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-06/0.4573, allocations: 12.05 kB / 0.5848 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.46, allocations: 1.559 MB / 0.5863 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/0.4603, allocations: 156.6 kB / 0.5865 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.4604, allocations: 27.98 kB / 0.5865 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/0.4608, allocations: 35.97 kB / 0.5866 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.461, allocations: 84.77 kB / 0.5866 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.4611, allocations: 31.98 kB / 0.5867 GB, free: 2.129 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003382/0.4614, allocations: 275.1 kB / 0.5869 GB, free: 1.863 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4614, allocations: 0 / 0.5869 GB, free: 1.863 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001032/0.4625, allocations: 308 kB / 0.5872 GB, free: 1.562 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.0001878/0.4627, allocations: 119.1 kB / 0.5873 GB, free: 1.434 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002183/0.4648, allocations: 1.339 MB / 0.5886 GB, free: 92 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4648, allocations: 3.938 kB / 0.5886 GB, free: 88 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.4661, allocations: 0.793 MB / 0.5894 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006733/0.4667, allocations: 106.5 kB / 0.5895 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.4698, allocations: 1.831 MB / 0.5913 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008288/0.4706, allocations: 1.087 MB / 0.5924 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000448/0.4711, allocations: 184.7 kB / 0.5925 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.4713, allocations: 63.41 kB / 0.5926 GB, free: 11.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.233e-06/0.4713, allocations: 0 / 0.5926 GB, free: 11.9 MB / 446.1 MB Notification: Performance of Templates: time 0.0199/0.4912, allocations: 11.04 MB / 0.6034 GB, free: 0.8672 MB / 446.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.302304603159428]