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.0009546/0.0009546, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009739/0.0009739, allocations: 172.6 kB / 24.92 MB, free: 8.727 MB / 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.087/1.087, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2488/0.2488, allocations: 29.43 MB / 291.2 MB, free: 2.406 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.845e-06/2.845e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3.095e-05, allocations: 3.844 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.007811/0.007842, allocations: 5.588 MB / 322.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004132/0.01197, allocations: 1.916 MB / 324.4 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000546/0.01252, allocations: 31.75 kB / 324.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.01387, allocations: 497.6 kB / 324.9 MB, free: 7.891 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.01538, allocations: 0.5672 MB / 325.5 MB, free: 7.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007421/0.01612, allocations: 259.4 kB / 325.7 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001427/0.01754, allocations: 1.141 MB / 326.9 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007687/0.01831, allocations: 0.5112 MB / 327.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.01953, allocations: 0.7598 MB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008639/0.0204, allocations: 0.518 MB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.02052, allocations: 64 kB / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006207/0.02114, allocations: 291.5 kB / 329 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004528/0.02159, allocations: 0.5027 MB / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003972/0.02199, allocations: 343.2 kB / 329.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.02314, allocations: 0.8798 MB / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.02315, allocations: 4 kB / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.02315, allocations: 0 / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.02317, allocations: 0 / 330.7 MB, free: 2.051 MB / 298.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.001716/0.02489, allocations: 1.09 MB / 331.8 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.02493, allocations: 16.03 kB / 331.8 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009262/0.02586, allocations: 204.7 kB / 332 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007946/0.02665, allocations: 494.9 kB / 332.5 MB, free: 204 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.86e-05/0.02672, allocations: 70.34 kB / 332.6 MB, free: 136 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/0.02694, allocations: 92.84 kB / 332.7 MB, free: 44 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.02804, allocations: 0.7148 MB / 333.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.02808, allocations: 15.89 kB / 333.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.577e-05/0.02815, allocations: 35.94 kB / 333.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/0.02831, allocations: 85.94 kB / 333.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007747/0.02908, allocations: 372.3 kB / 333.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004062/0.03314, allocations: 3.137 MB / 337 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007247/0.03387, allocations: 371.5 kB / 337.4 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.03409, allocations: 125.2 kB / 337.5 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.03413, allocations: 16.5 kB / 337.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.03417, allocations: 39.06 kB / 337.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 4.248e-06/0.03418, allocations: 0 / 337.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=64): time 0.001846/0.03602, allocations: 0.7857 MB / 338.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.03606, allocations: 89.8 kB / 338.4 MB, free: 9.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.03637, allocations: 490.7 kB / 338.9 MB, free: 9.488 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.0364, allocations: 37.7 kB / 338.9 MB, free: 9.445 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.03657, allocations: 408.9 kB / 339.3 MB, free: 9.035 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.03668, allocations: 222.1 kB / 339.6 MB, free: 8.816 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.03683, allocations: 182.4 kB / 339.7 MB, free: 8.633 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.03694, allocations: 382.6 kB / 340.1 MB, free: 8.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.03707, allocations: 104.7 kB / 340.2 MB, free: 8.148 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.03733, allocations: 418.5 kB / 340.6 MB, free: 7.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.03781, allocations: 0.625 MB / 341.2 MB, free: 6.812 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.03782, allocations: 11.94 kB / 341.3 MB, free: 6.801 MB / 314.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0008353/0.03865, allocations: 0.6703 MB / 341.9 MB, free: 6.109 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.03867, allocations: 8 kB / 341.9 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004113/0.03909, allocations: 317 kB / 342.2 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004589/0.03954, allocations: 193.7 kB / 342.4 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/0.04008, allocations: 274.2 kB / 342.7 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.04277, allocations: 4.136 MB / 346.8 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.04301, allocations: 24 kB / 346.9 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/0.04305, allocations: 44.05 kB / 346.9 MB, free: 0.8125 MB / 314.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.0001977/0.04325, allocations: 196.3 kB / 347.1 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.04331, allocations: 55.95 kB / 347.1 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003517/0.04367, allocations: 347.9 kB / 347.5 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.04367, allocations: 8 kB / 347.5 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.04367, allocations: 0 / 347.5 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.04368, allocations: 3.984 kB / 347.5 MB, free: 204 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000982/0.04466, allocations: 0.8405 MB / 348.3 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.04466, allocations: 4.203 kB / 348.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/0.04522, allocations: 246 kB / 348.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.04523, allocations: 4 kB / 348.6 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.04525, allocations: 19.92 kB / 348.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.04526, allocations: 4 kB / 348.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.04526, allocations: 0 / 348.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.04572, allocations: 0.5724 MB / 349.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.04583, allocations: 87.59 kB / 349.3 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.04587, allocations: 23.98 kB / 349.3 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.046, allocations: 12 kB / 349.3 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/0.04607, allocations: 52.34 kB / 349.4 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.04609, allocations: 12 kB / 349.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001238/0.04622, allocations: 188.4 kB / 349.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04622, allocations: 4 kB / 349.6 MB, free: 14.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004501/0.04667, allocations: 220 kB / 349.8 MB, free: 13.85 MB / 330.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.0001197/0.04679, allocations: 104.3 kB / 349.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006626/0.04745, allocations: 0.7703 MB / 350.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/0.04746, allocations: 17.44 kB / 350.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.04762, allocations: 169.1 kB / 350.8 MB, free: 12.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.04805, allocations: 171.2 kB / 351 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.05012, allocations: 1.511 MB / 352.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.05027, allocations: 239.5 kB / 352.7 MB, free: 10.76 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001927/0.05046, allocations: 93.78 kB / 352.8 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.05072, allocations: 185.3 kB / 353 MB, free: 10.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.343e-06/0.05072, allocations: 0 / 353 MB, free: 10.48 MB / 330.7 MB Notification: Performance of Templates: time 0.01115/0.06186, allocations: 9.224 MB / 362.2 MB, free: 1.422 MB / 330.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 -s gbode -gbm=radauIIA3 -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.228619067929685]