Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.0009574/0.0009574, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003886/0.004843, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009044/0.0009044, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002728/0.003633, allocations: 455.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9427/0.9427, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08842/1.031, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1252/0.1252, allocations: 29.45 MB / 273.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1272/0.2525, allocations: 9.526 MB / 283 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.811e-05, allocations: 3.516 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.005602/0.00562, allocations: 6.831 MB / 291.1 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004037/0.009657, allocations: 3.27 MB / 294.3 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005046/0.01016, allocations: 21.69 kB / 294.4 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.01138, allocations: 0.9192 MB / 295.3 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002658/0.01403, allocations: 1.255 MB / 296.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.01507, allocations: 318.9 kB / 296.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001546/0.01662, allocations: 1.502 MB / 298.4 MB, free: 0.668 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006156/0.01723, allocations: 0.5304 MB / 298.9 MB, free: 132 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008893/0.01812, allocations: 0.8703 MB / 299.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007565/0.01888, allocations: 0.6894 MB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.436e-05/0.01896, allocations: 68 kB / 300.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.02079, allocations: 1.126 MB / 301.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003931/0.02118, allocations: 0.4989 MB / 302.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.02145, allocations: 267.5 kB / 302.4 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.02288, allocations: 1.199 MB / 303.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.7e-05/0.02289, allocations: 0 / 303.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.02289, allocations: 0 / 303.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.751e-05/0.02292, allocations: 0 / 303.6 MB, free: 11.41 MB / 298.7 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.001366/0.02429, allocations: 1.283 MB / 304.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.71e-05/0.02432, allocations: 8.031 kB / 304.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.02604, allocations: 0.5792 MB / 305.5 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.02647, allocations: 373 kB / 305.8 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.0265, allocations: 54.36 kB / 305.9 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.527e-05/0.02658, allocations: 72.36 kB / 306 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005885/0.02717, allocations: 0.64 MB / 306.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.02719, allocations: 192 / 306.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/0.02723, allocations: 32.36 kB / 306.6 MB, free: 8.281 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-05/0.02729, allocations: 77.89 kB / 306.7 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.02772, allocations: 352.4 kB / 307 MB, free: 7.859 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.02993, allocations: 2.105 MB / 309.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/0.03053, allocations: 0.5702 MB / 309.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.03074, allocations: 222.3 kB / 309.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/0.03079, allocations: 20.98 kB / 310 MB, free: 4.863 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.03082, allocations: 47.56 kB / 310 MB, free: 4.805 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 2.485e-06/0.03082, allocations: 0 / 310 MB, free: 4.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=92): time 0.002237/0.03305, allocations: 1.388 MB / 311.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.03309, allocations: 90.11 kB / 311.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.03325, allocations: 311.2 kB / 311.8 MB, free: 2.988 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.03329, allocations: 41.7 kB / 311.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.03339, allocations: 289.5 kB / 312.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.03354, allocations: 325.1 kB / 312.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.03367, allocations: 146.5 kB / 312.6 MB, free: 2.184 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.255e-05/0.03377, allocations: 370.7 kB / 312.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.03391, allocations: 124.8 kB / 313.1 MB, free: 1.688 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.03409, allocations: 223.4 kB / 313.3 MB, free: 1.441 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.03447, allocations: 437.9 kB / 313.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.03447, allocations: 0 / 313.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0007024/0.03517, allocations: 0.6302 MB / 314.3 MB, free: 344 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.03519, allocations: 4 kB / 314.3 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.03519, allocations: 4 kB / 314.3 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004186/0.03561, allocations: 223.5 kB / 314.6 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.03604, allocations: 203.7 kB / 314.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/0.03803, allocations: 2.434 MB / 317.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.03821, allocations: 20 kB / 317.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.03825, allocations: 31.92 kB / 317.2 MB, free: 13.32 MB / 314.7 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.0001443/0.03839, allocations: 152.5 kB / 317.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.03847, allocations: 71.88 kB / 317.5 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007949/0.03926, allocations: 0.6969 MB / 318.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-06/0.03927, allocations: 8 kB / 318.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.03928, allocations: 4 kB / 318.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.03928, allocations: 7.984 kB / 318.2 MB, free: 12.37 MB / 314.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.001668/0.04095, allocations: 1.521 MB / 319.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.04096, allocations: 4.438 kB / 319.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/0.0413, allocations: 179.8 kB / 319.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.04136, allocations: 71.48 kB / 319.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003608/0.04172, allocations: 200.1 kB / 320.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.04176, allocations: 35.92 kB / 320.2 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/0.04353, allocations: 2.386 MB / 322.6 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.04353, allocations: 8 kB / 322.6 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007828/0.04431, allocations: 0.8778 MB / 323.4 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.04437, allocations: 31.92 kB / 323.5 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.04454, allocations: 20 kB / 323.5 MB, free: 6.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.572e-05/0.04463, allocations: 92.72 kB / 323.6 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.04467, allocations: 20 kB / 323.6 MB, free: 6.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.976e-05/0.04475, allocations: 124.7 kB / 323.7 MB, free: 6.535 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-08/0.04475, allocations: 0 / 323.7 MB, free: 6.535 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005198/0.04527, allocations: 316 kB / 324 MB, free: 6.227 MB / 314.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.0001133/0.04538, allocations: 100.2 kB / 324.1 MB, free: 6.121 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007164/0.0461, allocations: 0.7153 MB / 324.8 MB, free: 5.395 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.301e-05/0.04612, allocations: 16.59 kB / 324.9 MB, free: 5.375 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004395/0.04656, allocations: 0.5144 MB / 325.4 MB, free: 4.855 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.04695, allocations: 172.7 kB / 325.5 MB, free: 4.688 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/0.06125, allocations: 1.468 MB / 327 MB, free: 3.129 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.06144, allocations: 271.7 kB / 327.3 MB, free: 2.844 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.06162, allocations: 76.75 kB / 327.4 MB, free: 2.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.06183, allocations: 135.3 kB / 327.5 MB, free: 2.637 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.06183, allocations: 0 / 327.5 MB, free: 2.637 MB / 314.7 MB Notification: Performance of Templates: time 0.01207/0.0739, allocations: 11.15 MB / 338.6 MB, free: 7.59 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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: 2.9907235698774457]