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.001976/0.001976, 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.002041/0.002041, allocations: 209.2 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.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1867/0.1867, allocations: 38.54 MB / 352.5 MB, free: 12.42 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.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: 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.002522/0.002522, allocations: 67.89 kB / 493 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4215, allocations: 62.46 MB / 0.5424 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.01014/0.4317, allocations: 7.264 MB / 0.5495 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007397/0.439, allocations: 4.427 MB / 0.5538 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00065/0.4397, allocations: 21.56 kB / 0.5539 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003061/0.4428, allocations: 1.075 MB / 0.5549 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004018/0.4468, allocations: 1.276 MB / 0.5562 GB, free: 5.641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.4482, allocations: 367.3 kB / 0.5565 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002466/0.4506, allocations: 1.459 MB / 0.5579 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008863/0.4515, allocations: 0.5132 MB / 0.5584 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.4529, allocations: 0.6654 MB / 0.5591 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.4541, allocations: 0.7358 MB / 0.5598 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.4542, allocations: 68 kB / 0.5599 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/0.4577, allocations: 1.204 MB / 0.561 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000671/0.4584, allocations: 0.4948 MB / 0.5615 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005225/0.4589, allocations: 394.3 kB / 0.5619 GB, free: 220 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002806/0.4617, allocations: 1.542 MB / 0.5634 GB, free: 14.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4617, allocations: 0 / 0.5634 GB, free: 14.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4617, allocations: 3.938 kB / 0.5634 GB, free: 14.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.4617, allocations: 0 / 0.5634 GB, free: 14.66 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002057/0.4638, allocations: 1.113 MB / 0.5645 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.4638, allocations: 11.98 kB / 0.5645 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00326/0.4671, allocations: 423.8 kB / 0.5649 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.4681, allocations: 441.7 kB / 0.5653 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.035e-05/0.4682, allocations: 58.36 kB / 0.5654 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.4683, allocations: 72.36 kB / 0.5655 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.4703, allocations: 1.234 MB / 0.5667 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.4703, allocations: 0 / 0.5667 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.593e-05/0.4704, allocations: 39.98 kB / 0.5667 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001366/0.4705, allocations: 81.94 kB / 0.5668 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.4726, allocations: 1.3 MB / 0.5681 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006092/0.4787, allocations: 3.287 MB / 0.5713 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.4805, allocations: 1.006 MB / 0.5722 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008719/0.4814, allocations: 0.5824 MB / 0.5728 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.874e-05/0.4814, allocations: 9 kB / 0.5728 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.4815, allocations: 43.56 kB / 0.5729 GB, free: 4.777 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 3.707e-06/0.4815, allocations: 0 / 0.5729 GB, free: 4.777 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.007395/0.4889, allocations: 3.068 MB / 0.5759 GB, free: 1.699 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.798e-05/0.489, allocations: 94.05 kB / 0.576 GB, free: 1.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005563/0.4895, allocations: 365.6 kB / 0.5763 GB, free: 1.227 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/0.4896, allocations: 41.7 kB / 0.5763 GB, free: 1.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/0.4899, allocations: 332.9 kB / 0.5767 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003748/0.4903, allocations: 341 kB / 0.577 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.4906, allocations: 166.6 kB / 0.5771 GB, free: 352 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002434/0.4908, allocations: 362.8 kB / 0.5775 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000766/0.4916, allocations: 469.8 kB / 0.5779 GB, free: 15.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009164/0.4925, allocations: 0.582 MB / 0.5785 GB, free: 14.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.4943, allocations: 1.114 MB / 0.5796 GB, free: 13.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.4943, allocations: 4 kB / 0.5796 GB, free: 13.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002892/0.4972, allocations: 1.47 MB / 0.581 GB, free: 12.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.4972, allocations: 6.812 kB / 0.581 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.4972, allocations: 4 kB / 0.581 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.4983, allocations: 336.8 kB / 0.5814 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007677/0.499, allocations: 187.7 kB / 0.5815 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005945/0.505, allocations: 3.87 MB / 0.5853 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006008/0.5056, allocations: 43.95 kB / 0.5854 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.946e-05/0.5057, allocations: 35.98 kB / 0.5854 GB, free: 7.707 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.0004977/0.5062, allocations: 305.6 kB / 0.5857 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.5063, allocations: 55.67 kB / 0.5857 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/0.5091, allocations: 1.539 MB / 0.5872 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.5091, allocations: 8 kB / 0.5873 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.5091, allocations: 11.94 kB / 0.5873 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.5091, allocations: 7.984 kB / 0.5873 GB, free: 5.762 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.005115/0.5142, allocations: 2.642 MB / 0.5899 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.5142, allocations: 8 kB / 0.5899 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006298/0.5149, allocations: 167.7 kB / 0.59 GB, free: 2.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008322/0.5157, allocations: 292.8 kB / 0.5903 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.61e-05/0.5158, allocations: 27.98 kB / 0.5903 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005222/0.521, allocations: 3.645 MB / 0.5939 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.521, allocations: 7.938 kB / 0.5939 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/0.5237, allocations: 1.571 MB / 0.5954 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.5239, allocations: 67.61 kB / 0.5955 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.969e-05/0.524, allocations: 24 kB / 0.5955 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004362/0.5244, allocations: 39.95 kB / 0.5956 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.5246, allocations: 88.73 kB / 0.5956 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.5246, allocations: 31.98 kB / 0.5957 GB, free: 12.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003301/0.525, allocations: 263.1 kB / 0.5959 GB, free: 12.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.525, allocations: 4 kB / 0.5959 GB, free: 12.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001034/0.526, allocations: 308 kB / 0.5962 GB, free: 12.35 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.0001934/0.5262, allocations: 123.1 kB / 0.5963 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002344/0.5285, allocations: 1.335 MB / 0.5976 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5285, allocations: 0 / 0.5976 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.5298, allocations: 0.7928 MB / 0.5984 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/0.5305, allocations: 109.5 kB / 0.5985 GB, free: 9.969 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.5339, allocations: 1.84 MB / 0.6003 GB, free: 8.051 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006788/0.5346, allocations: 489.1 kB / 0.6008 GB, free: 7.547 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004836/0.5351, allocations: 184.7 kB / 0.601 GB, free: 7.367 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.5353, allocations: 59.41 kB / 0.601 GB, free: 7.309 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5353, allocations: 11.94 kB / 0.601 GB, free: 7.297 MB / 446.1 MB Notification: Performance of Templates: time 0.02114/0.5564, allocations: 11.36 MB / 0.6121 GB, free: 11.98 MB / 462.1 MB " [Timeout remaining time 659] 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.806463602930307]