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.0009877/0.0009877, allocations: 73.98 kB / 22.21 MB, free: 2.297 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.001033/0.001033, allocations: 165.2 kB / 25.61 MB, free: 8.902 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 0.9552/0.9552, allocations: 177.2 MB / 206.1 MB, free: 4.508 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.1343/0.1343, allocations: 29.44 MB / 292 MB, free: 2.617 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 1.483e-06/1.483e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.49e-05, allocations: 2.312 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.00386/0.003875, allocations: 5.525 MB / 376.4 MB, free: 26.78 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.005884, allocations: 1.865 MB / 378.3 MB, free: 24.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.006113, allocations: 39.69 kB / 378.3 MB, free: 24.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006756/0.006789, allocations: 0.49 MB / 378.8 MB, free: 24.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000721/0.00751, allocations: 0.575 MB / 379.4 MB, free: 23.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.007915, allocations: 259.3 kB / 379.6 MB, free: 23.54 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007296/0.008645, allocations: 1.148 MB / 380.8 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000454/0.009099, allocations: 477.6 kB / 381.2 MB, free: 21.92 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007384/0.009837, allocations: 0.7636 MB / 382 MB, free: 21.15 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005231/0.01036, allocations: 0.5415 MB / 382.5 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.146e-05/0.01044, allocations: 64 kB / 382.6 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004126/0.01085, allocations: 283.5 kB / 382.9 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002822/0.01114, allocations: 0.5105 MB / 383.4 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000244/0.01138, allocations: 343.2 kB / 383.7 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006202/0.012, allocations: 0.8875 MB / 384.6 MB, free: 18.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.012, allocations: 0 / 384.6 MB, free: 18.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.01201, allocations: 0 / 384.6 MB, free: 18.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.01202, allocations: 0 / 384.6 MB, free: 18.53 MB / 314.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.001066/0.01308, allocations: 1.246 MB / 385.9 MB, free: 17.24 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.01312, allocations: 8.031 kB / 385.9 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006057/0.01373, allocations: 244.1 kB / 386.1 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.01419, allocations: 0.4965 MB / 386.6 MB, free: 16.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/0.01423, allocations: 70.34 kB / 386.7 MB, free: 16.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.01437, allocations: 96.86 kB / 386.8 MB, free: 16.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006567/0.01502, allocations: 0.7485 MB / 387.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.01505, allocations: 4 kB / 387.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/0.01509, allocations: 35.98 kB / 387.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.004e-05/0.01518, allocations: 85.89 kB / 387.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/0.01561, allocations: 381.4 kB / 388 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.01784, allocations: 4.039 MB / 392 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.01826, allocations: 358.6 kB / 392.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.01837, allocations: 128.8 kB / 392.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.0184, allocations: 12.5 kB / 392.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.01842, allocations: 41.89 kB / 392.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 1.874e-06/0.01842, allocations: 0 / 392.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=64): time 0.0009844/0.01941, allocations: 0.8766 MB / 393.5 MB, free: 9.293 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.01944, allocations: 89.77 kB / 393.5 MB, free: 9.188 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.01967, allocations: 0.5682 MB / 394.1 MB, free: 8.602 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.0197, allocations: 37.7 kB / 394.1 MB, free: 8.559 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.01983, allocations: 0.4909 MB / 394.6 MB, free: 8.059 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.091e-05/0.01992, allocations: 246 kB / 394.9 MB, free: 7.816 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.02006, allocations: 200.1 kB / 395.1 MB, free: 7.609 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.02013, allocations: 0.5663 MB / 395.6 MB, free: 7.031 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.02024, allocations: 93.91 kB / 395.7 MB, free: 6.941 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.02044, allocations: 0.5675 MB / 396.3 MB, free: 6.164 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.02084, allocations: 0.7548 MB / 397.1 MB, free: 5.203 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.02084, allocations: 4 kB / 397.1 MB, free: 5.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0009064/0.02175, allocations: 0.7959 MB / 397.9 MB, free: 4.383 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.02176, allocations: 8 kB / 397.9 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004143/0.02218, allocations: 385.1 kB / 398.2 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003843/0.02256, allocations: 186.8 kB / 398.4 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.02293, allocations: 227.6 kB / 398.6 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.02505, allocations: 5.744 MB / 404.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.02529, allocations: 24 kB / 404.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.02533, allocations: 36 kB / 404.4 MB, free: 13.42 MB / 330.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.0001833/0.02551, allocations: 240.5 kB / 404.7 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.77e-05/0.0256, allocations: 99.45 kB / 404.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/0.02602, allocations: 407.8 kB / 405.2 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.02602, allocations: 8 kB / 405.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.02602, allocations: 0 / 405.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.02603, allocations: 3.984 kB / 405.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.02704, allocations: 0.9617 MB / 406.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.02704, allocations: 4 kB / 406.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/0.02746, allocations: 183.9 kB / 406.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.02746, allocations: 7.938 kB / 406.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.02749, allocations: 15.98 kB / 406.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.02749, allocations: 4 kB / 406.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.02749, allocations: 7.938 kB / 406.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.02804, allocations: 0.6707 MB / 407 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.02815, allocations: 95.52 kB / 407.1 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.661e-05/0.0282, allocations: 23.94 kB / 407.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.02833, allocations: 12 kB / 407.2 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.0284, allocations: 52.34 kB / 407.2 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.02842, allocations: 15.94 kB / 407.2 MB, free: 10.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001691/0.02859, allocations: 314.7 kB / 407.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02859, allocations: 0 / 407.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004691/0.02906, allocations: 216 kB / 407.7 MB, free: 9.992 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.0001111/0.02917, allocations: 119.1 kB / 407.9 MB, free: 9.863 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007439/0.02992, allocations: 0.9778 MB / 408.8 MB, free: 8.828 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.02992, allocations: 0 / 408.8 MB, free: 8.828 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.0301, allocations: 184.5 kB / 409 MB, free: 8.648 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.03056, allocations: 157.8 kB / 409.2 MB, free: 8.504 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.0324, allocations: 1.631 MB / 410.8 MB, free: 6.812 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.03256, allocations: 239.4 kB / 411 MB, free: 6.559 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.03276, allocations: 93.7 kB / 411.1 MB, free: 6.465 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.033, allocations: 214.1 kB / 411.3 MB, free: 6.254 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.033, allocations: 4 kB / 411.3 MB, free: 6.25 MB / 330.7 MB Notification: Performance of Templates: time 0.01125/0.04425, allocations: 9.212 MB / 420.6 MB, free: 13.19 MB / 346.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.381907668430358]