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.001785/0.001785, allocations: 105.5 kB / 20.43 MB, free: 1.473 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.002192/0.002192, allocations: 188.1 kB / 23.72 MB, free: 4.711 MB / 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.472/1.472, allocations: 225.6 MB / 252.5 MB, free: 13.04 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.1863/0.1863, allocations: 38.55 MB / 346.3 MB, free: 2.137 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.002539/0.002539, allocations: 67.89 kB / 484.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.378, allocations: 61.29 MB / 0.533 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.007125/0.3851, allocations: 6.814 MB / 0.5397 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003537/0.3886, allocations: 2.054 MB / 0.5417 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003818/0.389, allocations: 31.16 kB / 0.5417 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.391, allocations: 0.7373 MB / 0.5424 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.3925, allocations: 0.5828 MB / 0.543 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007473/0.3932, allocations: 251.9 kB / 0.5432 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00158/0.3948, allocations: 1.141 MB / 0.5444 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006811/0.3955, allocations: 408.6 kB / 0.5448 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007782/0.3963, allocations: 0.5304 MB / 0.5453 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.3973, allocations: 0.6566 MB / 0.5459 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.3974, allocations: 67.84 kB / 0.546 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000669/0.3981, allocations: 297.4 kB / 0.5463 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005538/0.3986, allocations: 496 kB / 0.5467 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006088/0.3993, allocations: 499.4 kB / 0.5472 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.4011, allocations: 1.181 MB / 0.5484 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4011, allocations: 0 / 0.5484 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4011, allocations: 0 / 0.5484 GB, free: 10.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.4011, allocations: 0 / 0.5484 GB, free: 10.54 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.00279/0.4039, allocations: 1.161 MB / 0.5495 GB, free: 9.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.404, allocations: 9.188 kB / 0.5495 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.405, allocations: 169.2 kB / 0.5497 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.4063, allocations: 0.5526 MB / 0.5502 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.656e-05/0.4063, allocations: 73.97 kB / 0.5503 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002593/0.4066, allocations: 105.1 kB / 0.5504 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.4087, allocations: 1.149 MB / 0.5515 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.4087, allocations: 3.344 kB / 0.5515 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.53e-05/0.4088, allocations: 35.98 kB / 0.5515 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001853/0.409, allocations: 85.94 kB / 0.5516 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.4107, allocations: 1.001 MB / 0.5526 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006502/0.4172, allocations: 4.28 MB / 0.5568 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.4185, allocations: 0.5841 MB / 0.5573 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004646/0.419, allocations: 293.8 kB / 0.5576 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/0.419, allocations: 12.48 kB / 0.5576 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.4191, allocations: 47.06 kB / 0.5577 GB, free: 2.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 2.454e-06/0.4191, allocations: 0 / 0.5577 GB, free: 2.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.003192/0.4223, allocations: 1.673 MB / 0.5593 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.998e-05/0.4224, allocations: 97.64 kB / 0.5594 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006932/0.423, allocations: 0.5495 MB / 0.5599 GB, free: 132 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.4231, allocations: 33.7 kB / 0.56 GB, free: 92 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/0.4235, allocations: 456.2 kB / 0.5604 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.4237, allocations: 234 kB / 0.5606 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.424, allocations: 182.5 kB / 0.5608 GB, free: 15.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.4242, allocations: 378.8 kB / 0.5612 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/0.4247, allocations: 289.8 kB / 0.5614 GB, free: 14.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007779/0.4255, allocations: 0.6076 MB / 0.562 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.4269, allocations: 0.9788 MB / 0.563 GB, free: 12.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.4269, allocations: 4 kB / 0.563 GB, free: 12.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002306/0.4292, allocations: 1.166 MB / 0.5641 GB, free: 11.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.4292, allocations: 11.98 kB / 0.5641 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001436/0.4307, allocations: 0.7114 MB / 0.5648 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007433/0.4314, allocations: 210.4 kB / 0.565 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007837/0.4322, allocations: 223.6 kB / 0.5653 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005434/0.4376, allocations: 5.066 MB / 0.5702 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007594/0.4384, allocations: 28 kB / 0.5702 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.657e-05/0.4385, allocations: 44.12 kB / 0.5703 GB, free: 4.84 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.000583/0.439, allocations: 349.5 kB / 0.5706 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.4392, allocations: 71.53 kB / 0.5707 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.4404, allocations: 0.66 MB / 0.5713 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.4404, allocations: 4 kB / 0.5713 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.4404, allocations: 8 kB / 0.5713 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.4404, allocations: 7.922 kB / 0.5713 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/0.4434, allocations: 1.514 MB / 0.5728 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.4434, allocations: 0 / 0.5728 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008172/0.4442, allocations: 171.8 kB / 0.573 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.4442, allocations: 4 kB / 0.573 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/0.4443, allocations: 16 kB / 0.573 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.4443, allocations: 7.938 kB / 0.573 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4443, allocations: 3.984 kB / 0.573 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.4458, allocations: 1.036 MB / 0.574 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/0.4462, allocations: 103.5 kB / 0.5741 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.281e-05/0.4463, allocations: 23.98 kB / 0.5741 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003027/0.4466, allocations: 16 kB / 0.5742 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.4468, allocations: 48.34 kB / 0.5742 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.701e-05/0.4468, allocations: 23.98 kB / 0.5742 GB, free: 0.668 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004388/0.4473, allocations: 354.8 kB / 0.5746 GB, free: 332 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4473, allocations: 0 / 0.5746 GB, free: 332 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009134/0.4482, allocations: 224 kB / 0.5748 GB, free: 108 kB / 414.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.0001894/0.4484, allocations: 127 kB / 0.5749 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001906/0.4503, allocations: 1.068 MB / 0.5759 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4503, allocations: 0 / 0.5759 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000489/0.4508, allocations: 299.7 kB / 0.5762 GB, free: 14.58 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008365/0.4516, allocations: 160.1 kB / 0.5764 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/0.455, allocations: 1.961 MB / 0.5783 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008518/0.4559, allocations: 1.075 MB / 0.5793 GB, free: 11.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006259/0.4565, allocations: 221.6 kB / 0.5796 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.4567, allocations: 59.44 kB / 0.5796 GB, free: 11.04 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4567, allocations: 3.938 kB / 0.5796 GB, free: 11.04 MB / 430.1 MB Notification: Performance of Templates: time 0.01939/0.4761, allocations: 9.147 MB / 0.5886 GB, free: 1.93 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.510954938828945]