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.001518/0.001518, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001572/0.001572, allocations: 165 kB / 24.56 MB, free: 16 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 0.9442/0.9442, allocations: 177.2 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] 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.2468/0.2468, allocations: 29.41 MB / 290.9 MB, free: 2.457 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|phasor_cap.p.[0-9,]+.|phasor_cap.v_dq.[0-9,]+.|phasor_ind.i_dq.[0-9,]+.|phasor_ind.p.[0-9,]+.|phasor_ind.v_dq.[0-9,]+.",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.[0-9,]+.|phasor_cap.p.[0-9,]+.|phasor_cap.v_dq.[0-9,]+.|phasor_ind.i_dq.[0-9,]+.|phasor_ind.p.[0-9,]+.|phasor_ind.v_dq.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.564e-06/2.564e-06, allocations: 3.938 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.959e-05, allocations: 6.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.005263/0.005293, allocations: 5.559 MB / 375.2 MB, free: 5.414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.007901, allocations: 1.889 MB / 377.1 MB, free: 3.52 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003841/0.008286, allocations: 31.75 kB / 377.1 MB, free: 3.488 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009141/0.0092, allocations: 0.4977 MB / 377.6 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.01037, allocations: 0.5711 MB / 378.2 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007371/0.01111, allocations: 259.4 kB / 378.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.01268, allocations: 1.152 MB / 379.6 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007501/0.01343, allocations: 485.5 kB / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.01447, allocations: 0.756 MB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007593/0.01523, allocations: 0.5454 MB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.01533, allocations: 64 kB / 381.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004808/0.01581, allocations: 283.4 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003727/0.01619, allocations: 0.5026 MB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002884/0.01647, allocations: 339.2 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009171/0.01739, allocations: 0.8875 MB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.0174, allocations: 4 kB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.0174, allocations: 0 / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.01741, allocations: 0 / 383.4 MB, free: 13.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.001356/0.01877, allocations: 1.262 MB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.01881, allocations: 8.031 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006405/0.01945, allocations: 252 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/0.02015, allocations: 0.5277 MB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/0.0202, allocations: 70.34 kB / 385.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.02033, allocations: 96.86 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008484/0.02118, allocations: 0.7994 MB / 386.4 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.0212, allocations: 0 / 386.4 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/0.02125, allocations: 35.98 kB / 386.5 MB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.02136, allocations: 93.88 kB / 386.6 MB, free: 9.875 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006417/0.022, allocations: 471.4 kB / 387 MB, free: 9.414 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003342/0.02534, allocations: 4.086 MB / 391.1 MB, free: 5.145 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006108/0.02595, allocations: 398.6 kB / 391.5 MB, free: 4.734 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.02614, allocations: 148.9 kB / 391.6 MB, free: 4.582 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.02617, allocations: 12.5 kB / 391.7 MB, free: 4.566 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.0262, allocations: 45.89 kB / 391.7 MB, free: 4.512 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 3.166e-06/0.0262, allocations: 0 / 391.7 MB, free: 4.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.00154/0.02774, allocations: 1.185 MB / 392.9 MB, free: 3.289 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.02779, allocations: 85.77 kB / 393 MB, free: 3.188 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004425/0.02823, allocations: 0.5647 MB / 393.5 MB, free: 2.605 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.02827, allocations: 37.7 kB / 393.6 MB, free: 2.562 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.02852, allocations: 0.4987 MB / 394.1 MB, free: 2.055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.02864, allocations: 230.1 kB / 394.3 MB, free: 1.828 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.02881, allocations: 208.3 kB / 394.5 MB, free: 1.613 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.029, allocations: 0.5625 MB / 395.1 MB, free: 1.039 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.02918, allocations: 121.9 kB / 395.2 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007863/0.02997, allocations: 0.5948 MB / 395.8 MB, free: 124 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007883/0.03076, allocations: 0.7902 MB / 396.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.03077, allocations: 4 kB / 396.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001173/0.03194, allocations: 0.8589 MB / 397.4 MB, free: 14.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.03196, allocations: 12.19 kB / 397.4 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007635/0.03272, allocations: 432.3 kB / 397.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005812/0.03331, allocations: 182.9 kB / 398 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/0.03376, allocations: 239.6 kB / 398.3 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00318/0.03694, allocations: 5.84 MB / 404.1 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.03725, allocations: 32 kB / 404.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/0.0373, allocations: 52.05 kB / 404.2 MB, free: 7.074 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.0002632/0.03756, allocations: 248.2 kB / 404.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-05/0.03765, allocations: 83.58 kB / 404.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005183/0.03817, allocations: 451.9 kB / 405 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.03817, allocations: 11.94 kB / 405 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.03817, allocations: 0 / 405 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.03818, allocations: 3.984 kB / 405 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.03959, allocations: 1.125 MB / 406.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.0396, allocations: 16.09 kB / 406.1 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006721/0.04027, allocations: 179.8 kB / 406.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.04028, allocations: 4 kB / 406.3 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/0.04033, allocations: 16 kB / 406.3 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.04034, allocations: 7.938 kB / 406.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.04034, allocations: 3.938 kB / 406.3 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009563/0.04129, allocations: 0.7332 MB / 407.1 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.04144, allocations: 105.4 kB / 407.2 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.04149, allocations: 15.98 kB / 407.2 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.04164, allocations: 16 kB / 407.2 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.744e-05/0.04172, allocations: 52.34 kB / 407.2 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.04175, allocations: 23.98 kB / 407.3 MB, free: 3.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002099/0.04196, allocations: 326.8 kB / 407.6 MB, free: 3.562 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04196, allocations: 4 kB / 407.6 MB, free: 3.559 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005269/0.04249, allocations: 216 kB / 407.8 MB, free: 3.348 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.0001204/0.04261, allocations: 127 kB / 407.9 MB, free: 3.215 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009769/0.04359, allocations: 1.01 MB / 408.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.04359, allocations: 8.062 kB / 408.9 MB, free: 2.141 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.0438, allocations: 195.7 kB / 409.1 MB, free: 1.945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.04427, allocations: 158.3 kB / 409.3 MB, free: 1.797 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.04671, allocations: 1.636 MB / 410.9 MB, free: 96 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.04689, allocations: 239.4 kB / 411.2 MB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003186/0.04721, allocations: 193.5 kB / 411.4 MB, free: 15.65 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.04732, allocations: 56.48 kB / 411.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.04732, allocations: 0 / 411.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of Templates: time 0.01158/0.0589, allocations: 8.787 MB / 420.2 MB, free: 6.941 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Display.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2186020449735224]