Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.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.002487/0.002487, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.003199/0.003199, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 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.558/1.558, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 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.3029/0.3029, allocations: 29.41 MB / 290.5 MB, free: 2.41 MB / 266.7 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.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.861e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.008076/0.008105, allocations: 5.219 MB / 374.1 MB, free: 6.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003706/0.01181, allocations: 1.733 MB / 375.8 MB, free: 4.328 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003089/0.01212, allocations: 23.81 kB / 375.9 MB, free: 4.305 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.01347, allocations: 453.8 kB / 376.3 MB, free: 3.859 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007605/0.01423, allocations: 314.1 kB / 376.6 MB, free: 3.551 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.01541, allocations: 394.8 kB / 377 MB, free: 3.164 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.01641, allocations: 0.7557 MB / 377.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005489/0.01696, allocations: 298.3 kB / 378 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007705/0.01773, allocations: 450.8 kB / 378.5 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007641/0.0185, allocations: 450.9 kB / 378.9 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.01861, allocations: 48 kB / 379 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004571/0.01906, allocations: 183.6 kB / 379.2 MB, free: 1 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003469/0.01941, allocations: 303.2 kB / 379.5 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003379/0.01975, allocations: 235.5 kB / 379.7 MB, free: 484 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.02119, allocations: 0.8451 MB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.02119, allocations: 0 / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02119, allocations: 0 / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.0212, allocations: 4 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001928/0.02313, allocations: 0.9839 MB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.02317, allocations: 15.98 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.02446, allocations: 240.2 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.02564, allocations: 487.4 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.02568, allocations: 33.38 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003661/0.02605, allocations: 120.3 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.02726, allocations: 0.6954 MB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.02728, allocations: 7.938 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/0.02734, allocations: 16 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004798/0.02782, allocations: 72.88 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007592/0.02858, allocations: 335.5 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005708/0.03429, allocations: 4.082 MB / 387.6 MB, free: 8.242 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.0353, allocations: 344.5 kB / 387.9 MB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.03565, allocations: 164.9 kB / 388.1 MB, free: 7.715 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.215e-05/0.03571, allocations: 12.48 kB / 388.1 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.03575, allocations: 41.89 kB / 388.1 MB, free: 7.652 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.284e-06/0.03575, allocations: 0 / 388.1 MB, free: 7.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.002689/0.03844, allocations: 1.211 MB / 389.4 MB, free: 6.406 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.125e-05/0.03852, allocations: 81.61 kB / 389.4 MB, free: 6.309 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006134/0.03913, allocations: 0.518 MB / 389.9 MB, free: 5.777 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.03918, allocations: 33.7 kB / 390 MB, free: 5.738 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.03952, allocations: 399.3 kB / 390.4 MB, free: 5.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.03976, allocations: 230.3 kB / 390.6 MB, free: 5.113 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003099/0.04007, allocations: 183.9 kB / 390.8 MB, free: 4.926 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003711/0.04044, allocations: 0.5783 MB / 391.4 MB, free: 4.336 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003858/0.04083, allocations: 173.6 kB / 391.5 MB, free: 4.164 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007105/0.04154, allocations: 0.5146 MB / 392 MB, free: 3.516 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.04274, allocations: 0.7563 MB / 392.8 MB, free: 2.625 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.04275, allocations: 4 kB / 392.8 MB, free: 2.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004482/0.04723, allocations: 1.48 MB / 394.3 MB, free: 1.125 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.04725, allocations: 8 kB / 394.3 MB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.04727, allocations: 8 kB / 394.3 MB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002956/0.05022, allocations: 0.8609 MB / 395.2 MB, free: 244 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004849/0.05071, allocations: 111.8 kB / 395.3 MB, free: 132 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.06121, allocations: 6.345 MB / 401.6 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005399/0.06175, allocations: 35.91 kB / 401.6 MB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.529e-05/0.06184, allocations: 35.98 kB / 401.7 MB, free: 9.473 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003374/0.06218, allocations: 208.4 kB / 401.9 MB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.06232, allocations: 71.61 kB / 402 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.06344, allocations: 484.6 kB / 402.4 MB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.637e-06/0.06344, allocations: 8 kB / 402.4 MB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.06345, allocations: 0 / 402.4 MB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.06346, allocations: 3.984 kB / 402.4 MB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.06624, allocations: 1.17 MB / 403.6 MB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.06625, allocations: 3.984 kB / 403.6 MB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.06735, allocations: 183.8 kB / 403.8 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.06735, allocations: 4 kB / 403.8 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.333e-05/0.06742, allocations: 23.98 kB / 403.8 MB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.06742, allocations: 4 kB / 403.8 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.06742, allocations: 3.938 kB / 403.8 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.06878, allocations: 0.7845 MB / 404.6 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.0689, allocations: 47.67 kB / 404.7 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.717e-05/0.06899, allocations: 23.98 kB / 404.7 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.06933, allocations: 27.97 kB / 404.7 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.06943, allocations: 40.38 kB / 404.7 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/0.06948, allocations: 19.98 kB / 404.8 MB, free: 6.273 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00037/0.06985, allocations: 307.1 kB / 405.1 MB, free: 5.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06985, allocations: 0 / 405.1 MB, free: 5.973 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008644/0.07072, allocations: 212 kB / 405.3 MB, free: 5.766 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000187/0.0709, allocations: 131.1 kB / 405.4 MB, free: 5.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002618/0.07352, allocations: 1.271 MB / 406.7 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.07353, allocations: 0 / 406.7 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004153/0.07394, allocations: 203.4 kB / 406.9 MB, free: 4.117 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006765/0.07462, allocations: 112.9 kB / 407 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004092/0.07871, allocations: 1.996 MB / 409 MB, free: 1.977 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.07917, allocations: 366.4 kB / 409.3 MB, free: 1.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004608/0.07963, allocations: 164.6 kB / 409.5 MB, free: 1.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.07981, allocations: 44.48 kB / 409.5 MB, free: 1.387 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.07981, allocations: 0 / 409.5 MB, free: 1.387 MB / 378.7 MB Notification: Performance of Templates: time 0.02134/0.1012, allocations: 11.21 MB / 420.7 MB, free: 6.301 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Line.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,meter.i[1],meter.i[2],meter.i[3],meter.p[1],meter.p[2],meter.p[3],meter.v[1],meter.v[2],meter.v[3] Variables in the result:$cse4,$cse5,line.C,line.C0,line.G,line.GC_base[1],line.GC_base[2],line.L,line.L0,line.R,line.RL_base[1],line.RL_base[2],line.delta_len_km,line.dynType,line.i_start[1],line.i_start[2],line.i_start[3],line.len,line.ne,line.ne1,line.par.S_nom,line.par.V_nom,line.par.b_pg,line.par.b_pp,line.par.f_nom,line.par.g_pg,line.par.g_pp,line.par.puUnits,line.par.r,line.par.x,line.par.x0,line.v_start[1],line.v_start[2],line.v_start[3],meter.I_base,meter.S_nom,meter.V_base,meter.V_nom,meter.abc,meter.av,meter.i[1],meter.i[2],meter.i[3],meter.p[1],meter.p[2],meter.p[3],meter.puUnits,meter.tcst,meter.v[1],meter.v[2],meter.v[3],system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time,transPh.a_end,transPh.a_start,transPh.coef,transPh.n,transPh.ph_end,transPh.ph_start,transPh.t_change,transPh.t_duration,voltage1.S_nom,voltage1.V_base,voltage1.V_nom,voltage1.alpha0,voltage1.f,voltage1.fType,voltage1.puUnits,voltage1.use_vPhasor_in,voltage1.v0,voltage2.S_nom,voltage2.V_base,voltage2.V_nom,voltage2.alpha0,voltage2.f,voltage2.fType,voltage2.puUnits,voltage2.use_vPhasor_in,voltage2.v0 [Calling sys.exit(0), Time elapsed: 5.453750543994829]