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.001817/0.001817, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002282/0.002282, allocations: 161.7 kB / 24.27 MB, free: 172 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.513/1.513, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.3048/0.3048, allocations: 29.42 MB / 290.5 MB, free: 2.434 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.503e-06/1.503e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.164e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.007644/0.007676, allocations: 4.992 MB / 373.9 MB, free: 6.289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00368/0.01136, allocations: 1.671 MB / 375.6 MB, free: 4.613 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002886/0.01164, allocations: 23.81 kB / 375.6 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.01305, allocations: 437.8 kB / 376 MB, free: 4.16 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007988/0.01385, allocations: 302.2 kB / 376.3 MB, free: 3.863 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.01499, allocations: 402.8 kB / 376.7 MB, free: 3.469 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009829/0.01597, allocations: 0.7556 MB / 377.5 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005306/0.0165, allocations: 302.4 kB / 377.7 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007481/0.01725, allocations: 442.7 kB / 378.2 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007241/0.01797, allocations: 446.9 kB / 378.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.324e-05/0.01806, allocations: 48 kB / 378.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004117/0.01848, allocations: 179.7 kB / 378.8 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003462/0.01882, allocations: 311.2 kB / 379.1 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000339/0.01916, allocations: 231.5 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.0203, allocations: 0.8412 MB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.02031, allocations: 0 / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.02031, allocations: 0 / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.02032, allocations: 0 / 380.2 MB, free: 15.94 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.001938/0.02226, allocations: 0.8531 MB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.0223, allocations: 11.98 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.02362, allocations: 236.2 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.0247, allocations: 0.4967 MB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.02474, allocations: 29.38 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003795/0.02512, allocations: 140.3 kB / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.02658, allocations: 0.8548 MB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.02661, allocations: 3.938 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.021e-05/0.02668, allocations: 24 kB / 382.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004416/0.02712, allocations: 68.94 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.02824, allocations: 0.6205 MB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005126/0.03336, allocations: 3.507 MB / 387 MB, free: 8.844 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.03454, allocations: 0.5235 MB / 387.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005237/0.03507, allocations: 311.1 kB / 387.9 MB, free: 7.996 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.03511, allocations: 8.5 kB / 387.9 MB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.03516, allocations: 39.06 kB / 387.9 MB, free: 7.941 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 1.613e-06/0.03516, allocations: 0 / 387.9 MB, free: 7.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.003437/0.03859, allocations: 1.8 MB / 389.7 MB, free: 6.105 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.03867, allocations: 85.61 kB / 389.8 MB, free: 6.004 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.03919, allocations: 421.7 kB / 390.2 MB, free: 5.586 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.483e-05/0.03925, allocations: 33.69 kB / 390.2 MB, free: 5.547 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.03955, allocations: 332.5 kB / 390.6 MB, free: 5.219 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.03977, allocations: 210.3 kB / 390.8 MB, free: 5.012 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/0.04001, allocations: 150.2 kB / 390.9 MB, free: 4.859 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002367/0.04025, allocations: 362.8 kB / 391.3 MB, free: 4.496 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006318/0.04088, allocations: 381.5 kB / 391.6 MB, free: 4.121 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008632/0.04175, allocations: 0.5981 MB / 392.2 MB, free: 3.434 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.0434, allocations: 1.07 MB / 393.3 MB, free: 2.262 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.0434, allocations: 0 / 393.3 MB, free: 2.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004816/0.04822, allocations: 2.006 MB / 395.3 MB, free: 244 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.04824, allocations: 8 kB / 395.3 MB, free: 236 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.04825, allocations: 8 kB / 395.3 MB, free: 228 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003186/0.05144, allocations: 1.062 MB / 396.4 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.05186, allocations: 115.8 kB / 396.5 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/0.06415, allocations: 7.917 MB / 404.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.06462, allocations: 39.97 kB / 404.5 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-05/0.0647, allocations: 40.05 kB / 404.5 MB, free: 6.836 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.0003754/0.06507, allocations: 241.6 kB / 404.7 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.06523, allocations: 67.61 kB / 404.8 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.06661, allocations: 0.7347 MB / 405.5 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.06661, allocations: 4 kB / 405.5 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.06662, allocations: 0 / 405.5 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.06662, allocations: 3.984 kB / 405.6 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002714/0.06934, allocations: 1.346 MB / 406.9 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.06934, allocations: 0 / 406.9 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.07047, allocations: 195.9 kB / 407.1 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.07047, allocations: 0 / 407.1 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.807e-05/0.07054, allocations: 27.98 kB / 407.1 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.07055, allocations: 4 kB / 407.1 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.07055, allocations: 3.938 kB / 407.1 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.07224, allocations: 1.015 MB / 408.1 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.78e-05/0.07233, allocations: 43.67 kB / 408.2 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.93e-05/0.07243, allocations: 27.98 kB / 408.2 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.07277, allocations: 28.03 kB / 408.2 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.932e-05/0.07287, allocations: 48.44 kB / 408.3 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/0.07293, allocations: 19.98 kB / 408.3 MB, free: 2.953 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004142/0.07334, allocations: 271.1 kB / 408.6 MB, free: 2.688 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07334, allocations: 0 / 408.6 MB, free: 2.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008499/0.07419, allocations: 216 kB / 408.8 MB, free: 2.477 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.0001912/0.07438, allocations: 123.2 kB / 408.9 MB, free: 2.348 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003006/0.07739, allocations: 1.401 MB / 410.3 MB, free: 0.918 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.07739, allocations: 4.062 kB / 410.3 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005045/0.0779, allocations: 298.7 kB / 410.6 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006928/0.07859, allocations: 135.5 kB / 410.7 MB, free: 0.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/0.08279, allocations: 2.31 MB / 413 MB, free: 14.15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.08328, allocations: 386.5 kB / 413.4 MB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005139/0.0838, allocations: 200.6 kB / 413.6 MB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.084, allocations: 48.48 kB / 413.7 MB, free: 13.5 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.084, allocations: 4 kB / 413.7 MB, free: 13.5 MB / 394.7 MB Notification: Performance of Templates: time 0.02158/0.1056, allocations: 11.11 MB / 424.8 MB, free: 2.508 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 480] 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.450115051004104]