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.001064/0.001064, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001509/0.002573, allocations: 449.8 kB / 10.44 MB, free: 252 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.00106/0.00106, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002522, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9654/0.9654, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08906/1.054, allocations: 53.67 MB / 243.4 MB, free: 15.52 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.115/0.115, allocations: 29.44 MB / 273.6 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1286/0.2436, allocations: 9.537 MB / 283.1 MB, free: 12.83 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 2.014e-06/2.014e-06, allocations: 1.125 kB / 284.5 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107e-05/1.309e-05, allocations: 3.297 kB / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.005697/0.00571, allocations: 6.845 MB / 291.3 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004115/0.009825, allocations: 3.27 MB / 294.6 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003397/0.01016, allocations: 17.16 kB / 294.6 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.01155, allocations: 0.9243 MB / 295.5 MB, free: 3.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.01354, allocations: 1.259 MB / 296.8 MB, free: 2.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005994/0.01414, allocations: 316.8 kB / 297.1 MB, free: 2.062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.01534, allocations: 1.495 MB / 298.6 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004914/0.01583, allocations: 0.5343 MB / 299.1 MB, free: 20 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006992/0.01653, allocations: 0.8743 MB / 300 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006053/0.01713, allocations: 0.6932 MB / 300.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.282e-05/0.0172, allocations: 68 kB / 300.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.0185, allocations: 1.126 MB / 301.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002941/0.0188, allocations: 0.5029 MB / 302.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.019, allocations: 267.6 kB / 302.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.02026, allocations: 1.196 MB / 303.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.02027, allocations: 0 / 303.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.02027, allocations: 4 kB / 303.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.02028, allocations: 3.938 kB / 303.8 MB, free: 11.28 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.001034/0.02132, allocations: 1.279 MB / 305.1 MB, free: 9.977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.02135, allocations: 12.03 kB / 305.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/0.02301, allocations: 0.5753 MB / 305.7 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.02339, allocations: 385 kB / 306.1 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.02342, allocations: 54.36 kB / 306.1 MB, free: 8.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.931e-05/0.0235, allocations: 76.36 kB / 306.2 MB, free: 8.836 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005976/0.0241, allocations: 0.6283 MB / 306.8 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.02412, allocations: 4.172 kB / 306.8 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/0.02416, allocations: 32.36 kB / 306.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-05/0.02422, allocations: 65.91 kB / 306.9 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.02464, allocations: 352.5 kB / 307.3 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.0268, allocations: 2.109 MB / 309.4 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009053/0.02771, allocations: 0.5625 MB / 310 MB, free: 4.988 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.02792, allocations: 223.2 kB / 310.2 MB, free: 4.766 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.02796, allocations: 24.94 kB / 310.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.02798, allocations: 39.56 kB / 310.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 2.174e-06/0.02799, allocations: 0 / 310.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=92): time 0.002322/0.03031, allocations: 1.423 MB / 311.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.03034, allocations: 86.11 kB / 311.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.03051, allocations: 315.2 kB / 312 MB, free: 2.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.03055, allocations: 41.7 kB / 312.1 MB, free: 2.793 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.03066, allocations: 289.5 kB / 312.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.03081, allocations: 325.1 kB / 312.7 MB, free: 2.184 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.03095, allocations: 150.5 kB / 312.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.956e-05/0.03104, allocations: 366.7 kB / 313.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.03118, allocations: 124.8 kB / 313.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.03136, allocations: 223.4 kB / 313.5 MB, free: 1.293 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.03177, allocations: 448.8 kB / 314 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.03177, allocations: 0 / 314 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0007201/0.03249, allocations: 0.6302 MB / 314.6 MB, free: 184 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.0325, allocations: 8 kB / 314.6 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.03251, allocations: 0 / 314.6 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004462/0.03296, allocations: 223.5 kB / 314.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/0.03339, allocations: 206.5 kB / 315 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.03561, allocations: 2.429 MB / 317.5 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.03579, allocations: 20 kB / 317.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.03583, allocations: 31.97 kB / 317.5 MB, free: 13.17 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.000146/0.03597, allocations: 152.5 kB / 317.7 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.957e-05/0.03605, allocations: 71.83 kB / 317.7 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008108/0.03686, allocations: 0.6931 MB / 318.4 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.03687, allocations: 8 kB / 318.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.03688, allocations: 7.984 kB / 318.4 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.03688, allocations: 7.984 kB / 318.4 MB, free: 12.21 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.001661/0.03855, allocations: 1.518 MB / 320 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.03855, allocations: 11.97 kB / 320 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.03891, allocations: 175.8 kB / 320.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.03896, allocations: 71.53 kB / 320.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003593/0.03932, allocations: 200.1 kB / 320.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.03936, allocations: 27.98 kB / 320.4 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.04121, allocations: 2.397 MB / 322.8 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.04121, allocations: 11.88 kB / 322.8 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00078/0.04199, allocations: 0.8856 MB / 323.7 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/0.04204, allocations: 23.94 kB / 323.8 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.04222, allocations: 28 kB / 323.8 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.931e-05/0.04231, allocations: 84.78 kB / 323.9 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.04235, allocations: 31.92 kB / 323.9 MB, free: 6.488 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.361e-05/0.04243, allocations: 116.7 kB / 324 MB, free: 6.371 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04243, allocations: 0 / 324 MB, free: 6.371 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007938/0.04323, allocations: 312 kB / 324.3 MB, free: 6.066 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.0001251/0.04335, allocations: 100.3 kB / 324.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007348/0.04409, allocations: 0.7317 MB / 325.1 MB, free: 5.223 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.116e-05/0.04411, allocations: 13.5 kB / 325.2 MB, free: 5.207 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000586/0.04469, allocations: 0.6555 MB / 325.8 MB, free: 4.531 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.04513, allocations: 327.5 kB / 326.1 MB, free: 4.184 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/0.05974, allocations: 1.452 MB / 327.6 MB, free: 2.637 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.05994, allocations: 268 kB / 327.8 MB, free: 2.355 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.06015, allocations: 72.81 kB / 327.9 MB, free: 2.285 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.06038, allocations: 135.3 kB / 328.1 MB, free: 2.152 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.06039, allocations: 0 / 328.1 MB, free: 2.152 MB / 314.7 MB Notification: Performance of Templates: time 0.01339/0.07377, allocations: 11.38 MB / 339.4 MB, free: 6.875 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9752435879781842]