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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00223/0.00223, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.178/0.178, allocations: 38.52 MB / 344.5 MB, free: 2.59 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00196/0.00196, allocations: 63.91 kB / 482 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3657, allocations: 61.25 MB / 0.5306 GB, free: 5.488 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.007637/0.3733, allocations: 6.783 MB / 0.5372 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003666/0.377, allocations: 2.042 MB / 0.5392 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.3774, allocations: 23 kB / 0.5392 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.3793, allocations: 0.7351 MB / 0.5399 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.3808, allocations: 0.5789 MB / 0.5405 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007282/0.3816, allocations: 246.9 kB / 0.5407 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.383, allocations: 1.141 MB / 0.5418 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006823/0.3837, allocations: 416.2 kB / 0.5422 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007648/0.3845, allocations: 0.523 MB / 0.5427 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000945/0.3854, allocations: 0.6575 MB / 0.5434 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.832e-05/0.3855, allocations: 67.19 kB / 0.5434 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005672/0.3861, allocations: 283.2 kB / 0.5437 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005278/0.3866, allocations: 494.3 kB / 0.5442 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005393/0.3871, allocations: 495.9 kB / 0.5447 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.3886, allocations: 1.188 MB / 0.5458 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3886, allocations: 1.281 kB / 0.5458 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3886, allocations: 0 / 0.5458 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.3886, allocations: 0 / 0.5458 GB, free: 10.73 MB / 398.1 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.00222/0.3908, allocations: 1.23 MB / 0.547 GB, free: 9.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3908, allocations: 17.39 kB / 0.547 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009796/0.3918, allocations: 173.7 kB / 0.5472 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.393, allocations: 0.6305 MB / 0.5478 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.3931, allocations: 65.33 kB / 0.5479 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/0.3933, allocations: 97.66 kB / 0.548 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.3952, allocations: 1.157 MB / 0.5491 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.607e-05/0.3953, allocations: 5.25 kB / 0.5491 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.076e-05/0.3953, allocations: 37.17 kB / 0.5491 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001738/0.3955, allocations: 85.92 kB / 0.5492 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.3972, allocations: 0.9972 MB / 0.5502 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006224/0.4034, allocations: 4.354 MB / 0.5545 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.4046, allocations: 0.596 MB / 0.555 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004747/0.4051, allocations: 283.2 kB / 0.5553 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.503e-05/0.4052, allocations: 8.562 kB / 0.5553 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.4052, allocations: 39.12 kB / 0.5553 GB, free: 2.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 2.575e-06/0.4052, allocations: 0 / 0.5553 GB, free: 2.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.003302/0.4085, allocations: 1.76 MB / 0.5571 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.4086, allocations: 93.61 kB / 0.5572 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006623/0.4092, allocations: 0.5495 MB / 0.5577 GB, free: 336 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.936e-05/0.4093, allocations: 41.69 kB / 0.5577 GB, free: 288 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.4097, allocations: 456 kB / 0.5582 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.4099, allocations: 222.1 kB / 0.5584 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.4102, allocations: 190.7 kB / 0.5586 GB, free: 15.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.4104, allocations: 374.8 kB / 0.5589 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/0.4109, allocations: 293.7 kB / 0.5592 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008469/0.4117, allocations: 0.6075 MB / 0.5598 GB, free: 14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.4132, allocations: 0.973 MB / 0.5607 GB, free: 12.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.4132, allocations: 4 kB / 0.5607 GB, free: 12.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002368/0.4156, allocations: 1.168 MB / 0.5619 GB, free: 11.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.4156, allocations: 11.98 kB / 0.5619 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001403/0.417, allocations: 0.7083 MB / 0.5626 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007494/0.4177, allocations: 218.9 kB / 0.5628 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007733/0.4185, allocations: 215.6 kB / 0.563 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005595/0.4241, allocations: 5.377 MB / 0.5683 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006533/0.4248, allocations: 39.94 kB / 0.5683 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.362e-05/0.4248, allocations: 44 kB / 0.5683 GB, free: 4.633 MB / 414.1 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.0005495/0.4254, allocations: 353.4 kB / 0.5687 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.4255, allocations: 67.52 kB / 0.5687 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.4267, allocations: 0.6499 MB / 0.5694 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.4267, allocations: 8 kB / 0.5694 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.4267, allocations: 0 / 0.5694 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.4267, allocations: 0 / 0.5694 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/0.4294, allocations: 1.547 MB / 0.5709 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.4294, allocations: 4 kB / 0.5709 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007726/0.4302, allocations: 175.9 kB / 0.5711 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/0.4302, allocations: 7.984 kB / 0.5711 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.455e-05/0.4303, allocations: 12 kB / 0.5711 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.4303, allocations: 4 kB / 0.5711 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.4303, allocations: 4 kB / 0.5711 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.4318, allocations: 1.026 MB / 0.5721 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.4321, allocations: 184.7 kB / 0.5723 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.395e-05/0.4321, allocations: 19.98 kB / 0.5723 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.4324, allocations: 12 kB / 0.5723 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.4326, allocations: 56.44 kB / 0.5724 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/0.4326, allocations: 20.11 kB / 0.5724 GB, free: 368 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004342/0.433, allocations: 358.8 kB / 0.5727 GB, free: 12 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.433, allocations: 0 / 0.5727 GB, free: 12 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009106/0.434, allocations: 220 kB / 0.5729 GB, free: 15.79 MB / 430.1 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.0001699/0.4341, allocations: 131 kB / 0.573 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.4359, allocations: 1.068 MB / 0.5741 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.4359, allocations: 0 / 0.5741 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005301/0.4364, allocations: 295 kB / 0.5744 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008412/0.4373, allocations: 172.3 kB / 0.5745 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003452/0.4407, allocations: 1.967 MB / 0.5765 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008311/0.4416, allocations: 1.067 MB / 0.5775 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006211/0.4422, allocations: 229.5 kB / 0.5777 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.4424, allocations: 63.42 kB / 0.5778 GB, free: 10.7 MB / 430.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4424, allocations: 3.938 kB / 0.5778 GB, free: 10.7 MB / 430.1 MB Notification: Performance of Templates: time 0.0179/0.4603, allocations: 8.821 MB / 0.5864 GB, free: 1.918 MB / 430.1 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.248472303152084]