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.00197/0.00197, allocations: 69.8 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.002285/0.002285, allocations: 162.7 kB / 24.5 MB, free: 3.715 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.678/1.678, allocations: 177.2 MB / 204.9 MB, free: 9.016 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.1767/0.1767, allocations: 29.42 MB / 290.7 MB, free: 3.27 MB / 270.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.002174/0.002174, allocations: 63.89 kB / 431.2 MB, free: 3.207 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4021, allocations: 62.43 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.00735/0.4095, allocations: 7.274 MB / 0.4892 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008307/0.4178, allocations: 4.439 MB / 0.4935 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000595/0.4184, allocations: 20.09 kB / 0.4935 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003607/0.422, allocations: 1.064 MB / 0.4946 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004329/0.4263, allocations: 1.278 MB / 0.4958 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.4279, allocations: 372.8 kB / 0.4962 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002541/0.4305, allocations: 1.469 MB / 0.4976 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009551/0.4314, allocations: 0.5016 MB / 0.4981 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.4327, allocations: 0.6606 MB / 0.4987 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.4339, allocations: 0.7424 MB / 0.4995 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.434, allocations: 67.59 kB / 0.4995 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002915/0.4369, allocations: 1.206 MB / 0.5007 GB, free: 26.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005547/0.4375, allocations: 0.4921 MB / 0.5012 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005563/0.438, allocations: 384.5 kB / 0.5015 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.4407, allocations: 1.545 MB / 0.5031 GB, free: 25.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.4407, allocations: 0 / 0.5031 GB, free: 25.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4407, allocations: 0 / 0.5031 GB, free: 25.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.4407, allocations: 7.281 kB / 0.5031 GB, free: 25.78 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002029/0.4428, allocations: 1.114 MB / 0.5042 GB, free: 25.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.4428, allocations: 12.58 kB / 0.5042 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00558/0.4484, allocations: 409.3 kB / 0.5046 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.4496, allocations: 456.8 kB / 0.505 GB, free: 24.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.693e-05/0.4497, allocations: 56.42 kB / 0.505 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.4499, allocations: 75.88 kB / 0.5051 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/0.4525, allocations: 1.233 MB / 0.5063 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.416e-05/0.4526, allocations: 3.938 kB / 0.5063 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.4527, allocations: 26.09 kB / 0.5063 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/0.4528, allocations: 80.83 kB / 0.5064 GB, free: 24.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00272/0.4555, allocations: 1.3 MB / 0.5077 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00701/0.4626, allocations: 3.293 MB / 0.5109 GB, free: 22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/0.4651, allocations: 1.001 MB / 0.5119 GB, free: 21.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.4662, allocations: 0.5766 MB / 0.5125 GB, free: 21.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.347e-05/0.4663, allocations: 15.5 kB / 0.5125 GB, free: 21.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.4663, allocations: 51.38 kB / 0.5125 GB, free: 21.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=92): time 4.429e-06/0.4663, allocations: 0 / 0.5125 GB, free: 21.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=93): time 0.009787/0.4761, allocations: 3.062 MB / 0.5155 GB, free: 20.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.4761, allocations: 95.42 kB / 0.5156 GB, free: 20.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005576/0.4767, allocations: 371.7 kB / 0.516 GB, free: 19.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.461e-05/0.4768, allocations: 40.11 kB / 0.516 GB, free: 19.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.477, allocations: 332.2 kB / 0.5163 GB, free: 19.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/0.4773, allocations: 343.3 kB / 0.5166 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/0.4777, allocations: 157.9 kB / 0.5168 GB, free: 19.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4778, allocations: 368.3 kB / 0.5171 GB, free: 18.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.4789, allocations: 466 kB / 0.5176 GB, free: 18.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.4801, allocations: 0.5761 MB / 0.5181 GB, free: 18.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002439/0.4825, allocations: 1.116 MB / 0.5192 GB, free: 18.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.4825, allocations: 5 kB / 0.5192 GB, free: 18.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0041/0.4866, allocations: 1.473 MB / 0.5207 GB, free: 17.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.4866, allocations: 9.844 kB / 0.5207 GB, free: 17.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.4867, allocations: 2.969 kB / 0.5207 GB, free: 17.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.488, allocations: 338.5 kB / 0.521 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.4892, allocations: 180.9 kB / 0.5212 GB, free: 17.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008093/0.4973, allocations: 3.866 MB / 0.525 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.4983, allocations: 53.66 kB / 0.525 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.4985, allocations: 34.44 kB / 0.525 GB, free: 15.03 MB / 446.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.0006969/0.4992, allocations: 306.9 kB / 0.5253 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.4994, allocations: 56.02 kB / 0.5254 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004397/0.5038, allocations: 1.538 MB / 0.5269 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.5038, allocations: 10.81 kB / 0.5269 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-05/0.5039, allocations: 10.42 kB / 0.5269 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.181e-05/0.5039, allocations: 5.578 kB / 0.5269 GB, free: 14.2 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.008022/0.5119, allocations: 2.647 MB / 0.5295 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.5119, allocations: 3.25 kB / 0.5295 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.5131, allocations: 170.9 kB / 0.5297 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00132/0.5144, allocations: 286.5 kB / 0.5299 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.5145, allocations: 26.31 kB / 0.53 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00757/0.5221, allocations: 3.657 MB / 0.5335 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.5221, allocations: 5.422 kB / 0.5335 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004267/0.5263, allocations: 1.566 MB / 0.5351 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/0.5266, allocations: 65.91 kB / 0.5351 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.5268, allocations: 22.81 kB / 0.5352 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009141/0.5277, allocations: 42.58 kB / 0.5352 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/0.528, allocations: 90.28 kB / 0.5353 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/0.5281, allocations: 37.55 kB / 0.5353 GB, free: 9.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004685/0.5286, allocations: 252.2 kB / 0.5356 GB, free: 9.711 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5286, allocations: 1.062 kB / 0.5356 GB, free: 9.711 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001853/0.5304, allocations: 309.4 kB / 0.5359 GB, free: 9.68 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.0002066/0.5307, allocations: 131.2 kB / 0.536 GB, free: 9.562 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003751/0.5344, allocations: 1.327 MB / 0.5373 GB, free: 9.043 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.5344, allocations: 0.625 kB / 0.5373 GB, free: 9.043 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.5359, allocations: 0.7888 MB / 0.538 GB, free: 8.707 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008385/0.5367, allocations: 104 kB / 0.5381 GB, free: 8.656 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/0.5399, allocations: 1.854 MB / 0.54 GB, free: 7.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/0.5406, allocations: 493.6 kB / 0.5404 GB, free: 7.605 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004604/0.5411, allocations: 179.8 kB / 0.5406 GB, free: 7.594 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.5413, allocations: 66.23 kB / 0.5407 GB, free: 7.578 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5413, allocations: 0 / 0.5407 GB, free: 7.578 MB / 446.1 MB Notification: Performance of Templates: time 0.0162/0.5575, allocations: 10.32 MB / 0.5507 GB, free: 14.7 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins1/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.782532221986912]