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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 250.8 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.186/0.186, allocations: 38.52 MB / 344.5 MB, free: 2.582 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001955/0.001955, allocations: 67.89 kB / 482.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3865, allocations: 61.25 MB / 0.5306 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.007384/0.3939, allocations: 4.61 MB / 0.5351 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003276/0.3972, allocations: 1.544 MB / 0.5366 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003371/0.3975, allocations: 12 kB / 0.5366 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.3986, allocations: 304.6 kB / 0.5369 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008402/0.3995, allocations: 264.8 kB / 0.5371 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009338/0.4004, allocations: 261.6 kB / 0.5374 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008045/0.4012, allocations: 0.6314 MB / 0.538 GB, free: 192 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004131/0.4016, allocations: 209.6 kB / 0.5382 GB, free: 56 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004817/0.4021, allocations: 292.5 kB / 0.5385 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008185/0.4029, allocations: 418.3 kB / 0.5389 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.039e-05/0.403, allocations: 40.91 kB / 0.5389 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003984/0.4034, allocations: 154.3 kB / 0.5391 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000347/0.4038, allocations: 247.2 kB / 0.5393 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004169/0.4042, allocations: 278.5 kB / 0.5396 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.4053, allocations: 0.6525 MB / 0.5402 GB, free: 14.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.4053, allocations: 1.094 kB / 0.5402 GB, free: 14.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4053, allocations: 4 kB / 0.5402 GB, free: 14.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.4053, allocations: 0 / 0.5402 GB, free: 14.82 MB / 398.1 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.002552/0.4079, allocations: 0.8997 MB / 0.5411 GB, free: 14.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.4079, allocations: 13.64 kB / 0.5411 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000766/0.4087, allocations: 95.03 kB / 0.5412 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.41, allocations: 0.4943 MB / 0.5417 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/0.4101, allocations: 30.16 kB / 0.5417 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.4103, allocations: 51.12 kB / 0.5418 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.4117, allocations: 0.6907 MB / 0.5424 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.4117, allocations: 1.375 kB / 0.5424 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.708e-05/0.4118, allocations: 21.25 kB / 0.5424 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001406/0.4119, allocations: 37.36 kB / 0.5425 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.4131, allocations: 0.5289 MB / 0.543 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005309/0.4184, allocations: 3.109 MB / 0.546 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007902/0.4192, allocations: 308 kB / 0.5463 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/0.4196, allocations: 166 kB / 0.5465 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.051e-05/0.4197, allocations: 7.531 kB / 0.5465 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.4197, allocations: 40.34 kB / 0.5465 GB, free: 9.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 3.146e-06/0.4197, allocations: 0.875 kB / 0.5465 GB, free: 9.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002941/0.4226, allocations: 1.227 MB / 0.5477 GB, free: 9.031 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.4227, allocations: 80.39 kB / 0.5478 GB, free: 8.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/0.4233, allocations: 394.8 kB / 0.5482 GB, free: 8.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.4233, allocations: 31.08 kB / 0.5482 GB, free: 8.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/0.4236, allocations: 306.9 kB / 0.5485 GB, free: 8.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.4238, allocations: 121.7 kB / 0.5486 GB, free: 8.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.424, allocations: 108.4 kB / 0.5487 GB, free: 8.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000233/0.4242, allocations: 354.1 kB / 0.5491 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.4246, allocations: 193.8 kB / 0.5493 GB, free: 7.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.4252, allocations: 384.4 kB / 0.5496 GB, free: 7.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.4263, allocations: 0.5931 MB / 0.5502 GB, free: 6.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.4263, allocations: 2.094 kB / 0.5502 GB, free: 6.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002495/0.4288, allocations: 0.8327 MB / 0.551 GB, free: 6.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.4288, allocations: 6.906 kB / 0.551 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.4289, allocations: 6.688 kB / 0.551 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.4304, allocations: 263.7 kB / 0.5513 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/0.431, allocations: 140.4 kB / 0.5514 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005378/0.4364, allocations: 4.044 MB / 0.5554 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004983/0.4369, allocations: 39.86 kB / 0.5554 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/0.4369, allocations: 27.98 kB / 0.5554 GB, free: 2.242 MB / 398.1 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.0003442/0.4373, allocations: 221.9 kB / 0.5556 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.527e-05/0.4373, allocations: 35.77 kB / 0.5557 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008275/0.4382, allocations: 489 kB / 0.5561 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4382, allocations: 4 kB / 0.5561 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.4382, allocations: 3.938 kB / 0.5561 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.4382, allocations: 4 kB / 0.5561 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.4397, allocations: 1.015 MB / 0.5571 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.4397, allocations: 0 / 0.5571 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.4401, allocations: 91.81 kB / 0.5572 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4401, allocations: 4 kB / 0.5572 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/0.4401, allocations: 11.98 kB / 0.5572 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.4402, allocations: 4 kB / 0.5572 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4402, allocations: 0 / 0.5572 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009964/0.4411, allocations: 0.74 MB / 0.558 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.4413, allocations: 120.8 kB / 0.5581 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/0.4413, allocations: 16.06 kB / 0.5581 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.4416, allocations: 15.92 kB / 0.5581 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.4416, allocations: 27.97 kB / 0.5581 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.4416, allocations: 11.98 kB / 0.5582 GB, free: 15.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002991/0.4419, allocations: 271.1 kB / 0.5584 GB, free: 15.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4419, allocations: 0 / 0.5584 GB, free: 15.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005516/0.4425, allocations: 120 kB / 0.5585 GB, free: 14.94 MB / 414.1 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.0001404/0.4426, allocations: 111.2 kB / 0.5586 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.4441, allocations: 0.7796 MB / 0.5594 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4441, allocations: 4.062 kB / 0.5594 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002933/0.4444, allocations: 191.7 kB / 0.5596 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.445, allocations: 93.45 kB / 0.5597 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.4483, allocations: 1.483 MB / 0.5611 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/0.4488, allocations: 0.8976 MB / 0.562 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003421/0.4492, allocations: 131.3 kB / 0.5621 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.4493, allocations: 39.42 kB / 0.5622 GB, free: 11.13 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4493, allocations: 4 kB / 0.5622 GB, free: 11.12 MB / 414.1 MB Notification: Performance of Templates: time 0.01233/0.4616, allocations: 6.492 MB / 0.5685 GB, free: 4.668 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) [Timeout 480] 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.072133266367018]