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.001337/0.001337, allocations: 77.97 kB / 21.42 MB, free: 3.07 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.001008/0.001008, allocations: 166.7 kB / 24.82 MB, free: 9.266 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.085/1.085, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.2914/0.2914, allocations: 29.42 MB / 291.2 MB, free: 2.395 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.495e-06/2.495e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.826e-05, allocations: 5.547 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.005823/0.005851, allocations: 5.517 MB / 375.6 MB, free: 5.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002738/0.008589, allocations: 1.873 MB / 377.5 MB, free: 3.297 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003249/0.008914, allocations: 31.75 kB / 377.5 MB, free: 3.266 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000889/0.009803, allocations: 493.7 kB / 378 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008864/0.01069, allocations: 0.5789 MB / 378.6 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004735/0.01116, allocations: 255.4 kB / 378.8 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009273/0.01209, allocations: 1.156 MB / 380 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005711/0.01266, allocations: 477.5 kB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009722/0.01363, allocations: 0.7559 MB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000638/0.01427, allocations: 0.5493 MB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.409e-05/0.01437, allocations: 64 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000471/0.01484, allocations: 283.5 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003489/0.01519, allocations: 0.5065 MB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.01545, allocations: 343.2 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007843/0.01623, allocations: 0.8876 MB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.01623, allocations: 0 / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01623, allocations: 0 / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.01624, allocations: 0 / 383.8 MB, free: 12.94 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.001272/0.01751, allocations: 1.25 MB / 385.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.01757, allocations: 8.031 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007888/0.01835, allocations: 248.1 kB / 385.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005784/0.01893, allocations: 0.5004 MB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/0.01899, allocations: 66.36 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.01913, allocations: 92.86 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007365/0.01987, allocations: 0.7485 MB / 386.7 MB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.01989, allocations: 7.984 kB / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.497e-05/0.01994, allocations: 28 kB / 386.8 MB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/0.02005, allocations: 89.88 kB / 386.9 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.0205, allocations: 381.4 kB / 387.2 MB, free: 9.395 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003067/0.02357, allocations: 4.031 MB / 391.3 MB, free: 5.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005885/0.02416, allocations: 370.5 kB / 391.6 MB, free: 4.797 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.0243, allocations: 120.9 kB / 391.7 MB, free: 4.672 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.02434, allocations: 12.5 kB / 391.7 MB, free: 4.656 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.02437, allocations: 49.83 kB / 391.8 MB, free: 4.598 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 2.264e-06/0.02438, allocations: 0 / 391.8 MB, free: 4.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.001319/0.02569, allocations: 0.8747 MB / 392.7 MB, free: 3.688 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.02574, allocations: 85.77 kB / 392.8 MB, free: 3.586 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/0.02615, allocations: 0.5644 MB / 393.3 MB, free: 3.004 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.02618, allocations: 37.7 kB / 393.4 MB, free: 2.961 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.02642, allocations: 0.4948 MB / 393.9 MB, free: 2.457 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.02665, allocations: 234 kB / 394.1 MB, free: 2.227 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.02683, allocations: 208.2 kB / 394.3 MB, free: 2.012 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.02701, allocations: 0.5741 MB / 394.9 MB, free: 1.426 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.02713, allocations: 89.91 kB / 394.9 MB, free: 1.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.0275, allocations: 0.5713 MB / 395.5 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008022/0.0283, allocations: 0.7471 MB / 396.3 MB, free: 15.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.02831, allocations: 4 kB / 396.3 MB, free: 15.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0009571/0.02927, allocations: 0.7926 MB / 397.1 MB, free: 14.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.02929, allocations: 11.98 kB / 397.1 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004984/0.02979, allocations: 392.4 kB / 397.5 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004376/0.03022, allocations: 178.9 kB / 397.6 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.03065, allocations: 243.6 kB / 397.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003283/0.03393, allocations: 5.743 MB / 403.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.03417, allocations: 31.95 kB / 403.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.03421, allocations: 36 kB / 403.7 MB, free: 7.805 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.0002243/0.03444, allocations: 240.3 kB / 403.9 MB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-05/0.03453, allocations: 99.39 kB / 404 MB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004176/0.03495, allocations: 403.9 kB / 404.4 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.03495, allocations: 12 kB / 404.4 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.03496, allocations: 4 kB / 404.4 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.03496, allocations: 3.984 kB / 404.4 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.03604, allocations: 0.9539 MB / 405.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.03605, allocations: 4.156 kB / 405.4 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004187/0.03647, allocations: 187.8 kB / 405.6 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/0.03647, allocations: 4 kB / 405.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.0365, allocations: 15.98 kB / 405.6 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.0365, allocations: 4 kB / 405.6 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.03651, allocations: 7.938 kB / 405.6 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009702/0.03748, allocations: 0.6707 MB / 406.3 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.03759, allocations: 99.41 kB / 406.4 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/0.03764, allocations: 27.92 kB / 406.4 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.03777, allocations: 8 kB / 406.4 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-05/0.03785, allocations: 48.47 kB / 406.4 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.03787, allocations: 23.91 kB / 406.5 MB, free: 4.895 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001726/0.03804, allocations: 310.7 kB / 406.8 MB, free: 4.594 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03804, allocations: 4 kB / 406.8 MB, free: 4.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005058/0.03855, allocations: 220 kB / 407 MB, free: 4.375 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.0001333/0.03868, allocations: 123.1 kB / 407.1 MB, free: 4.246 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008203/0.0395, allocations: 0.9668 MB / 408.1 MB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.0395, allocations: 192 / 408.1 MB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.03968, allocations: 183.6 kB / 408.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/0.04018, allocations: 152.2 kB / 408.4 MB, free: 2.895 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.04227, allocations: 1.621 MB / 410 MB, free: 1.207 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.04244, allocations: 235.4 kB / 410.3 MB, free: 0.957 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002212/0.04266, allocations: 101.7 kB / 410.4 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.04292, allocations: 214.1 kB / 410.6 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.04292, allocations: 3.938 kB / 410.6 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of Templates: time 0.01364/0.05657, allocations: 9.031 MB / 419.6 MB, free: 7.73 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.5352615267038345]