Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.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.002603/0.002603, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003152/0.003152, allocations: 165.6 kB / 24.27 MB, free: 156 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.542/1.542, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.3181/0.3181, allocations: 29.41 MB / 290.5 MB, free: 2.438 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.Load,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.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,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.Load") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 368.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.36e-05/3.489e-05, allocations: 2.312 kB / 368.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.007319/0.007354, allocations: 4.568 MB / 373.4 MB, free: 6.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003132/0.01049, allocations: 1.507 MB / 375 MB, free: 5.238 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002418/0.01073, allocations: 19.81 kB / 375 MB, free: 5.219 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.01176, allocations: 298.5 kB / 375.3 MB, free: 4.926 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006626/0.01242, allocations: 270.4 kB / 375.5 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000843/0.01326, allocations: 275.1 kB / 375.8 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.01444, allocations: 0.6466 MB / 376.4 MB, free: 3.742 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004908/0.01493, allocations: 252.9 kB / 376.7 MB, free: 3.496 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006391/0.01557, allocations: 390.9 kB / 377.1 MB, free: 3.113 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006782/0.01625, allocations: 379.1 kB / 377.4 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.013e-05/0.01634, allocations: 40 kB / 377.5 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.01672, allocations: 167.6 kB / 377.6 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003258/0.01705, allocations: 251.3 kB / 377.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.01733, allocations: 191.6 kB / 378.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.0184, allocations: 0.6892 MB / 378.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.01841, allocations: 0 / 378.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01841, allocations: 0 / 378.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.01842, allocations: 0 / 378.8 MB, free: 1.414 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002153/0.02057, allocations: 0.9493 MB / 379.7 MB, free: 440 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.02062, allocations: 15.97 kB / 379.7 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008777/0.0215, allocations: 176.4 kB / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.02264, allocations: 433.8 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.393e-05/0.02269, allocations: 33.36 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.02284, allocations: 48.5 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.0239, allocations: 0.5786 MB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.02392, allocations: 11.94 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.404e-05/0.02398, allocations: 19.98 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.02409, allocations: 32.98 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006568/0.02475, allocations: 303.5 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005026/0.02977, allocations: 3.606 MB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.03032, allocations: 234.4 kB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.03052, allocations: 111.3 kB / 385.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.03056, allocations: 4 kB / 385.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/0.03061, allocations: 41.89 kB / 385.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/0.03061, allocations: 0 / 385.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.00193/0.03254, allocations: 0.9057 MB / 386.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/0.03263, allocations: 77.11 kB / 386.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005493/0.03318, allocations: 482.5 kB / 386.8 MB, free: 8.977 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.03322, allocations: 37.64 kB / 386.8 MB, free: 8.934 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.03352, allocations: 366.8 kB / 387.2 MB, free: 8.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.03367, allocations: 135 kB / 387.3 MB, free: 8.438 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.03386, allocations: 119.9 kB / 387.4 MB, free: 8.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003479/0.03421, allocations: 0.547 MB / 388 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.03444, allocations: 101.2 kB / 388.1 MB, free: 7.652 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005139/0.03495, allocations: 393.7 kB / 388.5 MB, free: 7.152 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007854/0.03574, allocations: 0.526 MB / 389 MB, free: 6.508 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.03574, allocations: 0 / 389 MB, free: 6.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001847/0.03759, allocations: 0.6444 MB / 389.6 MB, free: 5.848 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.03761, allocations: 8 kB / 389.6 MB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.03762, allocations: 11.88 kB / 389.7 MB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/0.03943, allocations: 303.3 kB / 389.9 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006447/0.04007, allocations: 139.8 kB / 390.1 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005705/0.04578, allocations: 4.143 MB / 394.2 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004075/0.04619, allocations: 27.97 kB / 394.3 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/0.04624, allocations: 27.98 kB / 394.3 MB, free: 0.9336 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000312/0.04656, allocations: 212.4 kB / 394.5 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.04666, allocations: 47.77 kB / 394.5 MB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007826/0.04745, allocations: 373.1 kB / 394.9 MB, free: 304 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.04745, allocations: 4 kB / 394.9 MB, free: 300 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.04746, allocations: 11.92 kB / 394.9 MB, free: 288 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.04747, allocations: 0 / 394.9 MB, free: 288 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.04902, allocations: 0.8559 MB / 395.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.04902, allocations: 4.062 kB / 395.8 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/0.0495, allocations: 87.88 kB / 395.9 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.04951, allocations: 7.938 kB / 395.9 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.04954, allocations: 11.98 kB / 395.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.04955, allocations: 4 kB / 395.9 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.04955, allocations: 0 / 395.9 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000967/0.05052, allocations: 0.6267 MB / 396.5 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.146e-05/0.05061, allocations: 43.7 kB / 396.6 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.05067, allocations: 11.94 kB / 396.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.05091, allocations: 19.98 kB / 396.6 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-05/0.05098, allocations: 27.95 kB / 396.6 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.05102, allocations: 12 kB / 396.6 MB, free: 14.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003605/0.05138, allocations: 295.1 kB / 396.9 MB, free: 14.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05138, allocations: 0 / 396.9 MB, free: 14.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005676/0.05195, allocations: 116 kB / 397 MB, free: 14.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * 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.0001679/0.05211, allocations: 107.2 kB / 397.1 MB, free: 13.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001898/0.05401, allocations: 0.7939 MB / 397.9 MB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.05401, allocations: 4 kB / 397.9 MB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.05431, allocations: 155.6 kB / 398.1 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.05489, allocations: 95.84 kB / 398.2 MB, free: 12.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/0.05821, allocations: 1.266 MB / 399.4 MB, free: 11.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.05856, allocations: 282.5 kB / 399.7 MB, free: 11.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003304/0.05889, allocations: 107.3 kB / 399.8 MB, free: 11.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.05903, allocations: 36.48 kB / 399.9 MB, free: 11.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.653e-06/0.05904, allocations: 0 / 399.9 MB, free: 11.14 MB / 378.7 MB Notification: Performance of Templates: time 0.01451/0.07355, allocations: 6.274 MB / 406.1 MB, free: 4.961 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Load.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.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:$cse7,load.R_base,load.R_n,load.S_base,load.S_nom,load.V2_nom,load.V_nom,load.Z_start[1],load.Z_start[2],load.c0,load.cpl,load.dynType,load.i_start[1],load.i_start[2],load.imax,load.pq0[1],load.pq0[2],load.puUnits,load.r_n,load.tcst,load.use_pq_in,load.v[1],load.v[2],load.v_start[1],load.v_start[2],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,trsSignal[1].coef,trsSignal[1].s_end,trsSignal[1].s_start,trsSignal[1].t_change,trsSignal[1].t_duration,trsSignal[2].coef,trsSignal[2].s_end,trsSignal[2].s_start,trsSignal[2].t_change,trsSignal[2].t_duration,voltage.S_nom,voltage.V_base,voltage.V_nom,voltage.alpha0,voltage.f,voltage.fType,voltage.puUnits,voltage.use_vPhasor_in,voltage.v0 [Calling sys.exit(0), Time elapsed: 5.080480262986384]