Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Display.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.001735/0.001735, 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.002044/0.002044, 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.495/1.495, allocations: 177.2 MB / 204.6 MB, free: 5.598 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.3034/0.3034, allocations: 29.41 MB / 290.5 MB, free: 2.414 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.Introductory.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="Time|phasor_cap.i_dq.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="Time|phasor_cap.i_dq.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.124e-05/3.349e-05, allocations: 5.688 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.009066/0.0091, allocations: 6.297 MB / 375.2 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004088/0.01319, allocations: 1.912 MB / 377.1 MB, free: 3.066 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003745/0.01356, allocations: 31.75 kB / 377.1 MB, free: 3.035 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002134/0.0157, allocations: 0.7078 MB / 377.8 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.01718, allocations: 0.5944 MB / 378.4 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007486/0.01792, allocations: 259.3 kB / 378.7 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.0194, allocations: 1.164 MB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007764/0.02018, allocations: 477.5 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.02126, allocations: 0.701 MB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.02227, allocations: 0.5883 MB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.0224, allocations: 68 kB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006283/0.02303, allocations: 287.5 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005602/0.02359, allocations: 0.5065 MB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004735/0.02406, allocations: 339.2 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.02576, allocations: 1.195 MB / 384 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.02576, allocations: 4 kB / 384 MB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.02577, allocations: 0 / 384 MB, free: 12.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.02578, allocations: 0 / 384 MB, free: 12.15 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002297/0.02808, allocations: 1.15 MB / 385.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.02812, allocations: 11.98 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.02925, allocations: 252.1 kB / 385.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.03045, allocations: 0.5737 MB / 386 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.418e-05/0.03054, allocations: 74.34 kB / 386 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/0.03079, allocations: 96.84 kB / 386.1 MB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.03277, allocations: 1.157 MB / 387.3 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/0.03281, allocations: 7.938 kB / 387.3 MB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.042e-05/0.0329, allocations: 32 kB / 387.3 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001856/0.03309, allocations: 81.95 kB / 387.4 MB, free: 8.613 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.03492, allocations: 0.9951 MB / 388.4 MB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00608/0.041, allocations: 3.773 MB / 392.2 MB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.0423, allocations: 0.5796 MB / 392.7 MB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005382/0.04284, allocations: 287 kB / 393 MB, free: 2.801 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.473e-05/0.0429, allocations: 20.5 kB / 393 MB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.04294, allocations: 39.06 kB / 393.1 MB, free: 2.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 2.525e-06/0.04294, allocations: 0 / 393.1 MB, free: 2.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.003507/0.04645, allocations: 1.696 MB / 394.8 MB, free: 1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.135e-05/0.04654, allocations: 97.64 kB / 394.9 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007237/0.04726, allocations: 0.5532 MB / 395.4 MB, free: 332 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.04731, allocations: 33.7 kB / 395.5 MB, free: 292 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/0.04772, allocations: 444.1 kB / 395.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.04794, allocations: 234.1 kB / 396.1 MB, free: 15.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/0.04822, allocations: 190.5 kB / 396.3 MB, free: 15.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002479/0.04847, allocations: 378.7 kB / 396.7 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005298/0.049, allocations: 285.8 kB / 397 MB, free: 14.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008831/0.04988, allocations: 0.6079 MB / 397.6 MB, free: 14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.05159, allocations: 0.9787 MB / 398.5 MB, free: 12.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.05159, allocations: 4 kB / 398.6 MB, free: 12.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002524/0.05412, allocations: 1.209 MB / 399.8 MB, free: 11.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.05415, allocations: 12 kB / 399.8 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001545/0.05569, allocations: 0.7036 MB / 400.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.05669, allocations: 258.3 kB / 400.7 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008354/0.05753, allocations: 223.6 kB / 400.9 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006119/0.06365, allocations: 4.987 MB / 405.9 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006273/0.06428, allocations: 28 kB / 406 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.304e-05/0.06437, allocations: 43.98 kB / 406 MB, free: 5.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005725/0.06494, allocations: 353.3 kB / 406.4 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.0651, allocations: 91.59 kB / 406.4 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.06637, allocations: 0.6559 MB / 407.1 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.06638, allocations: 8 kB / 407.1 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.06638, allocations: 3.938 kB / 407.1 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.06639, allocations: 3.984 kB / 407.1 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/0.06896, allocations: 1.327 MB / 408.4 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.06896, allocations: 4.031 kB / 408.4 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008239/0.06978, allocations: 175.8 kB / 408.6 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.06979, allocations: 4 kB / 408.6 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/0.06984, allocations: 20 kB / 408.6 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.06985, allocations: 4 kB / 408.6 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.279e-06/0.06985, allocations: 3.938 kB / 408.6 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.07158, allocations: 1.048 MB / 409.7 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/0.07186, allocations: 99.64 kB / 409.8 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.594e-05/0.07196, allocations: 27.97 kB / 409.8 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.07227, allocations: 12 kB / 409.8 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.07243, allocations: 56.34 kB / 409.9 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.07247, allocations: 16 kB / 409.9 MB, free: 1.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004927/0.07297, allocations: 354.8 kB / 410.2 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07297, allocations: 0 / 410.2 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009843/0.07395, allocations: 220 kB / 410.5 MB, free: 0.5117 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * 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.0002067/0.07416, allocations: 123.1 kB / 410.6 MB, free: 392 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.0762, allocations: 1.085 MB / 411.7 MB, free: 15.26 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.0762, allocations: 0 / 411.7 MB, free: 15.26 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005181/0.07672, allocations: 295.7 kB / 412 MB, free: 14.97 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008831/0.07761, allocations: 164.4 kB / 412.1 MB, free: 14.81 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/0.08124, allocations: 1.833 MB / 413.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006116/0.08186, allocations: 470.6 kB / 414.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006123/0.08247, allocations: 221.5 kB / 414.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.08264, allocations: 64.47 kB / 414.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.08264, allocations: 0 / 414.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of Templates: time 0.01792/0.1006, allocations: 8.375 MB / 423.1 MB, free: 3.91 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Display -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Display.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.104007879970595]